Nick Coghlan <[email protected]> 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 <[email protected]>
<http://bugs.python.org/issue7813>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to