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 filitov
Recipients
Date 2004-09-16.21:00:02
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Logged In: YES 
user_id=642545

Turns out there are two issues here: PEP 302 using the
loader, and then the zip import caching the contents of zip
files.

At the suggestion of Phillip Eby, the PEP 302 stuff not
using a loader has been put in a new bug that he is going to
take care of:

https://sourceforge.net/tracker/index.php?func=detail&aid=1029475&group_id=5470&atid=105470

So, now there is just the separate issue of the zip import
not checking the file modification time. The attached patch
makes sure when reload(aZipModule) is called that the file
modification time is checked and that the contents are reloaded.

More details are in my last comment.

There is a test case that passes as well.

The patch is at a more permanent location this time:

http://www.chase3000.com/stephenh/patch-zipimport.txt

History
Date User Action Args
2007-08-23 14:18:46adminlinkissue856103 messages
2007-08-23 14:18:46admincreate