don't override execfile on Python 2 #778

merged 1 commit into from Sep 9, 2011


None yet

2 participants

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 commented Sep 9, 2011

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

@minrk minrk merged commit e8613d2 into ipython:master Sep 9, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment