[3.7] bpo-33169: Remove values of None from sys.path_importer_cache when invalidating caches (GH-6402) (GH-6403)

An entry of None in sys.path_importer_cache represents a negative/missing finder for a path, so clearing it out makes sense.
(cherry picked from commit 9e2be60634)
This commit is contained in:
Brett Cannon 2018-04-06 17:02:18 -07:00 committed by GitHub
parent 3c193cf8af
commit a09bb87c1e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 654 additions and 616 deletions

File diff suppressed because it is too large Load diff