This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author brett.cannon
Recipients brett.cannon, eric.snow, gvanrossum, ncoghlan
Date 2018-03-29.20:37:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Correct because as documented it calls invalidate_caches() on meta-path finders and the one that handles sys.path calls invalidate_caches() on the finders found in sys.path_importer_cache() (as documented by Since None isn't a finder it doesn't do anything there as there is no method to call. So the "full of lies" comment by the OP on the mypy repo is over-the-top/incorrect.

Now tweaking to delete entries in sys.path_importer_cache() that are set to None is straight-forward, but I don't think we can backport since it would be going against what the documentation says it does.
Date User Action Args
2018-03-29 20:37:25brett.cannonsetrecipients: + brett.cannon, gvanrossum, ncoghlan, eric.snow
2018-03-29 20:37:25brett.cannonsetmessageid: <>
2018-03-29 20:37:25brett.cannonlinkissue33169 messages
2018-03-29 20:37:24brett.cannoncreate