homepage

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 belopolsky
Recipients belopolsky
Date 2008年10月24日.22:22:14
SpamBayes Score 1.032599e-09
Marked as misclassified No
Message-id <1224886935.05.0.46930468047.issue4197@psf.upfronthosting.co.za>
In-reply-to
Content
I don't think there is an easy way to fix source file name reporting 
without injecting __file__ = '<path to archive>/<filename>' into the 
module namespace is zipimporter, but I don't know if any code relies on 
__file__ set to None.
Setting __file__ to (in the test case) testmodule.zip/__main__.py will 
eliminate the need for the first patch and the second patch will only need 
to pass globs to linecache.getlines() to fix the line number issue.
History
Date User Action Args
2008年10月24日 22:22:15belopolskysetrecipients: + belopolsky
2008年10月24日 22:22:15belopolskysetmessageid: <1224886935.05.0.46930468047.issue4197@psf.upfronthosting.co.za>
2008年10月24日 22:22:14belopolskylinkissue4197 messages
2008年10月24日 22:22:14belopolskycreate

AltStyle によって変換されたページ (->オリジナル) /