]> granicus.if.org Git - python/commit
Issue #18364: Stop using the ImportError._not_found hack.
authorBrett Cannon <brett@python.org>
Sat, 6 Jul 2013 18:48:18 +0000 (14:48 -0400)
committerBrett Cannon <brett@python.org>
Sat, 6 Jul 2013 18:48:18 +0000 (14:48 -0400)
commit0075110ab2b2f514484b9a0dcfc229fb23e08ac7
tree8a5725ca2ec70c2b1136e4bfcf5060f1e794b3c5
parente0a39de647902d836e2acf680d8cfc5caa21460f
Issue #18364: Stop using the ImportError._not_found hack.

The private attribute was leaking out of importlib and led to at least
one person noticing it. Switch to another hack which won't leak
outside of importlib and is nearly as robust.
Lib/importlib/_bootstrap.py
Python/importlib.h