Message19314
Logged In: YES
user_id=642545
So, upon some more investigation, it looks like the problem
is that the toc_entry from the old zip file is being used,
which has the old file size, not the new file size.
It looks like in zipimport.c, line 126, where the
zip_directory_cache is used to cache all of the toc_entry's
for a zip file, a check on the zip file modification should
be made, just as the modification check is done vs. .py
files, I would imagine.
This would require storing another a tuple in
zip_directory_cache of (modification_time, list of toc_entry's).
Let me know if you want me to take a shot at implementing
this. Otherwise I'd prefer deferring to you guys, as I
assume you can do it with much less time and much higher
quality than I could.
Thanks. |
|
Date |
User |
Action |
Args |
2007-08-23 14:18:46 | admin | link | issue856103 messages |
2007-08-23 14:18:46 | admin | create | |
|