Skip to content

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

Merged
brettcannon merged 3 commits into
python:3.7from
brettcannon:backport-9e2be60-3.7
Apr 7, 2018
Merged

[3.7] bpo-33169: Remove values of None from sys.path_importer_cache when invalidating caches (GH-6402)#6403
brettcannon merged 3 commits into
python:3.7from
brettcannon:backport-9e2be60-3.7

Conversation

@brettcannon

@brettcannon brettcannon commented Apr 6, 2018

Copy link
Copy Markdown
Member

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 9e2be60)

https://bugs.python.org/issue33169

… when invalidating caches (pythonGH-6402)

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 9e2be60)

Co-authored-by: Brett Cannon <brettcannon@users.noreply.github.com>
@brettcannon brettcannon merged commit a09bb87 into python:3.7 Apr 7, 2018
@brettcannon brettcannon deleted the backport-9e2be60-3.7 branch April 7, 2018 00:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants