[issue7813] Bug in command-line module launcher
Nick Coghlan
report at bugs.python.org
Sun Jan 31 04:35:15 CET 2010
Nick Coghlan <ncoghlan at gmail.com> added the comment:
Since import and direct execution will cope with files that don't end with a blank line, changing the first argument to "source + '\n'" in the pkgutil compile call seems like a reasonable workaround for the limitation in the 2.6 compile function.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7813>
_______________________________________
More information about the Python-bugs-list
mailing list