]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Take the first step in resolving the messy pkgutil vs importlib edge cases by basing...
authorNick Coghlan <ncoghlan@gmail.com>
Sun, 15 Jul 2012 08:09:52 +0000 (18:09 +1000)
committerNick Coghlan <ncoghlan@gmail.com>
Sun, 15 Jul 2012 08:09:52 +0000 (18:09 +1000)
commit85e729ec3b6708af956fb47ff4936521020ff5e5
treed0b10ba33497b7df8480eef9a915ca17c96d32c6
parentf96cf911a0dfb5344ab9b298c87af76ff3006e33
Take the first step in resolving the messy pkgutil vs importlib edge cases by basing pkgutil explicitly on importlib, deprecating its internal import emulation and setting __main__.__loader__ correctly so that runpy still works (Affects #15343, #15314, #15357)
Doc/library/pkgutil.rst
Lib/pkgutil.py
Lib/runpy.py
Lib/test/test_cmd_line_script.py
Lib/test/test_pkgutil.py
Misc/NEWS
Python/pythonrun.c