Python launcher (PEP 397) and emacs python-mode.el

Andreas Röhler andreas.roehler at
Thu Jan 31 12:05:53 CET 2013

Am 31.01.2013 10:03, schrieb Thomas Heller:
> Has someone managed to patch python-mode.el to use
> the PEP 397 python launcher when you hit C-c C-c?
> It seems that emacs should parse the shebang line in the edited
> python script and pass the corresponding arguments to py.exe.

Yes, that's the way python-mode.el acts by default.

AFAIU that launcher is implemented in Python3.3 and should not need any patch at all.
Should it not work, please file a bug-report at


> Thomas

More information about the Python-list mailing list