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 override execfile on Python 2 #778

Merged
merged 1 commit into from
Sep 9, 2011
Merged

Conversation

minrk
Copy link
Member

@minrk minrk commented Sep 9, 2011

py3compat.execfile() specifies an encoding for a file, but Python 2's execfile respects the # coding: headers. In the long run, py3compat.execfile() should respect the coding header, but for now, just don't override the existing execfile.

@fperez
Copy link
Member

fperez commented Sep 9, 2011

please go ahead and merge this, yes! Thanks for catching it...

minrk added a commit that referenced this pull request Sep 9, 2011
don't override execfile on Python 2
@minrk minrk merged commit e8613d2 into ipython:master Sep 9, 2011
mattvonrocketstein pushed a commit to mattvonrocketstein/ipython that referenced this pull request Nov 3, 2014
don't override execfile on Python 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants