bpo-45183: don't raise an exception when calling zipimport.zipimporter.find_spec() when the zip file is missing and the internal cache has been reset (GH-28435)
This can occur when the zip file gets deleted, you call zipimport.zipimporter.invalidate_cache(), and then try to use zipimport.zipimporter.find_spec() (i.e. you left the zip file path on sys.path).
B
Brett Cannon committed
209b7035f714dcc41df054b0b023e0b955d7e1a2
Parent: f481338
Committed by GitHub <noreply@github.com>
on 9/17/2021, 11:48:17 PM