]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Issue #17117: Have both import itself and importlib.util.set_loader()
authorBrett Cannon <brett@python.org>
Wed, 13 Mar 2013 17:41:36 +0000 (10:41 -0700)
committerBrett Cannon <brett@python.org>
Wed, 13 Mar 2013 17:41:36 +0000 (10:41 -0700)
commit4802becb160d76c2e0993ce7e8abbbe23667f91f
tree47c56787e702b1b15bc2d3fee5de3e9730aa9a57
parentaa73a1c9c9c149002f98dbf6fdd12eb3d41225ee
Issue #17117: Have both import itself and importlib.util.set_loader()
set __loader__ on a module when set to None.

Thanks to Gökcen Eraslan for the fix.
Doc/library/importlib.rst
Doc/reference/import.rst
Lib/importlib/_bootstrap.py
Lib/test/test_importlib/import_/test___loader__.py [new file with mode: 0644]
Lib/test/test_importlib/test_util.py
Misc/ACKS
Misc/NEWS
Python/importlib.h