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 <rep...@bugs.python.org> <http://bugs.python.org/issue16027> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com