Rustom wrote:
Public bug reported:
python 3 has removed execfile
This makes python-mode stop working
In function py-execute-file changing the line
(cmd (format execfile(r'%s') # PYTHON-MODE\n filename)))
to
(cmd (format exec(open(r'%s').read()) # PYTHON-MODE\n filename)))
seems
On Oct 17, 2009, at 11:54 AM, Andreas Roehler wrote:
(defcustom py-adressed-python-version
*With different Python versions, changes have been made, which
affect python execution as editing likewise.
If a version is specified here, python-mode will adapt its
proceeding to it.
Otherwise