This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ncoghlan
Recipients alexandre.vassalotti, andy-chu, gvanrossum, loewis, ncoghlan, paul.moore, pje
Date 2007-11-17.16:38:21
SpamBayes Score 0.008339889
Marked as misclassified No
Message-id <1195317504.79.0.876509319548.issue1739468@psf.upfronthosting.co.za>
In-reply-to
Content
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.
Files
File name Uploaded
runmain_with_tests.diff ncoghlan, 2007-11-17.16:38:21
History
Date User Action Args
2007-11-17 16:38:25ncoghlansetspambayes_score: 0.00833989 -> 0.008339889
recipients: + ncoghlan, gvanrossum, loewis, paul.moore, pje, andy-chu, alexandre.vassalotti
2007-11-17 16:38:24ncoghlansetspambayes_score: 0.00833989 -> 0.00833989
messageid: <1195317504.79.0.876509319548.issue1739468@psf.upfronthosting.co.za>
2007-11-17 16:38:24ncoghlanlinkissue1739468 messages
2007-11-17 16:38:24ncoghlancreate