[Python-Dev] Criticism of execfile() removal in Python3
Greg Ewing
greg.ewing at canterbury.ac.nz
Sun Jun 15 01:18:51 CEST 2014
More information about the Python-Dev mailing list
Sun Jun 15 01:18:51 CEST 2014
- Previous message: [Python-Dev] Criticism of execfile() removal in Python3
- Next message: [Python-Dev] Criticism of execfile() removal in Python3
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Fabio Zadrozny wrote: > Well, I must say that the exec(open().read()) is not really a proper > execfile implementation because it may fail because of encoding > issues... It's not far off, though -- all it needs is an optional encoding parameter. -- Greg
- Previous message: [Python-Dev] Criticism of execfile() removal in Python3
- Next message: [Python-Dev] Criticism of execfile() removal in Python3
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list