]> granicus.if.org Git - python/commit
regrtest: Fix module.__path__
authorVictor Stinner <victor.stinner@gmail.com>
Tue, 15 Mar 2016 22:08:44 +0000 (23:08 +0100)
committerVictor Stinner <victor.stinner@gmail.com>
Tue, 15 Mar 2016 22:08:44 +0000 (23:08 +0100)
commit82f04e2dfdd2bdfef5bd94f8d6615ac0a1f620b4
treea4bbb448ef69023dbccfb35fe8a2b78453c209a3
parent6453e9ed0add5f60d150692cef4596702dcc3290
regrtest: Fix module.__path__

Issue #26538: libregrtest: Fix setup_tests() to keep module.__path__ type
(_NamespacePath), don't convert to a list.

Add _NamespacePath.__setitem__() method to importlib._bootstrap_external.
Lib/importlib/_bootstrap_external.py
Lib/test/libregrtest/setup.py
Python/importlib_external.h