]> granicus.if.org Git - python/commit
bpo-33128 Fix duplicated call to importlib._install_external_importers (GH-6273)
authorPablo Galindo <Pablogsal@gmail.com>
Wed, 25 Apr 2018 02:22:28 +0000 (03:22 +0100)
committerNick Coghlan <ncoghlan@gmail.com>
Wed, 25 Apr 2018 02:22:28 +0000 (12:22 +1000)
commit0977091dca59709864b14cfc129388f1f0de7bf7
treed6a4f1fd2c977ea619abb77b2e12144ee7dd14e2
parent650ba4ffd1dcd4e5eb246d7c176e204eb90c7a86
bpo-33128 Fix duplicated call to importlib._install_external_importers  (GH-6273)

External importers were being added in both phases of the import
system initialisation.

They're only supposed to be added in the second phase, after the
import machinery has been appropriately configured.
Lib/test/test_sys.py
Misc/NEWS.d/next/Core and Builtins/2018-04-24-22-31-04.bpo-33128.g2yLuf.rst [new file with mode: 0644]
Python/pylifecycle.c