[issue1739468] Add a -z interpreter flag to execute a zip file
Nick Coghlan
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
myself.
Added file: http://bugs.python.org/file8767/runmain_with_tests.diff
_____________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1739468>
_____________________________________
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: runmain_with_tests.diff
Url: http://mail.python.org/pipermail/python-bugs-list/attachments/20071117/09ea1d97/attachment.txt
More information about the Python-bugs-list
mailing list