[issue16027] pkgutil doesn't support frozen modules
Martin Panter
report at bugs.python.org
Sat May 14 08:18:20 EDT 2016
Martin Panter added the comment:
FWIW Python 3.3 is almost a distant memory, but I think it works properly:
$ wine c:/Python33/python.exe -m __hello__
Hello world!
$ wine c:/Python33/python.exe -m __phello__.spam
Hello world!
Hello world!
On Python 2, it does fail. Is this what the original problem was?
$ python2.7 -m __hello__
/sbin/python2.7: No code object available for __hello__
[Exit 1]
$ python2.7 -c 'import __hello__'
Hello world...
As I see it, this only needs to be fixed in Python 2. Or is it not applicable to 2?
----------
nosy: +martin.panter
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16027>
_______________________________________
More information about the Python-bugs-list
mailing list