[issue1739468] Add a -z interpreter flag to execute a zip file
report at bugs.python.org
Sat Nov 17 17:38:24 CET 2007
Nick Coghlan added the comment:
Attached an updated version of PJE's patch with the suggested cleanups
and a new unit test file (test_cmd_line_script.py). Finding the
roundtuits to finish the latter is actually what has taken me so long.
The basic tests and the directory tests are currently working, but for
some reason the zipfile tests are attempting to load __main__ using
pkgutil.ImpLoader instead of the zipimport module.
I'm posting the patch anyway to see if anyone else can spot where it's
going wrong before I find some more time to try and figure it out for
Added file: http://bugs.python.org/file8767/runmain_with_tests.diff
Tracker <report at bugs.python.org>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the Python-bugs-list