]> granicus.if.org Git - python/commit
Fixes issue #19081: When a zipimport .zip file in sys.path being imported from
authorGregory P. Smith <greg@krypto.org>
Wed, 8 Jan 2014 02:34:23 +0000 (18:34 -0800)
committerGregory P. Smith <greg@krypto.org>
Wed, 8 Jan 2014 02:34:23 +0000 (18:34 -0800)
commit2e385e2592c140897a106a6a95184b23c5611a7f
treec6fdb5c7d9feb7d6c87eeec814e248d013f4e9a1
parent6188bd498fd22582e44f323895f0f89dec50f0b8
parent2bcbc141173e5cd2ed36693a71bed8d5a1a54dd4
Fixes issue #19081: When a zipimport .zip file in sys.path being imported from
is modified during the lifetime of the Python process after zipimport has
already cached the zip's table of contents we detect this and recover
rather than read bad data from the .zip (causing odd import errors).
Lib/test/test_zipimport.py
Misc/NEWS
Modules/zipimport.c