]> git.ipfire.org Git - thirdparty/Python/cpython.git/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:30:07 +0000 (18:30 -0800)
committerGregory P. Smith <greg@krypto.org>
Wed, 8 Jan 2014 02:30:07 +0000 (18:30 -0800)
commit2bcbc141173e5cd2ed36693a71bed8d5a1a54dd4
tree0a48d6c6c345b49f1d341f716c9be9ce84a336a7
parenta21acb5d95841e7d2c8491f40189a853cb7b5df4
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