Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

don't encode the file in "bpython file.py" #617

Closed
wants to merge 1 commit into from

Conversation

@thomasballinger
Copy link
Member

thomasballinger commented Jun 6, 2016

I'd like to do this to solve #608 but I'm never positive about encoding issues.

In Python 2 if we're reading a file from the command line, it's totally reasonable for us not to add our own encoding line, right? If it needs to be encoded, then there needed to be an encoding line there and if there is then we're munging it.

@sebastinas
Copy link
Contributor

sebastinas commented Jun 6, 2016

I think we should first add tests of what we expect. Also, this change breaks the current tests.

@thomasballinger
Copy link
Member Author

thomasballinger commented Aug 4, 2016

Fix in #627

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.