8000 [3.7] bpo-33169: Remove values of `None` from sys.path_importer_cache when invalidating caches (GH-6402) by brettcannon · Pull Request #6403 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Apr 7, 2018

Conversation

brettcannon
Copy link
Member
@brettcannon brettcannon commented Apr 6, 2018

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
0