Issue #24192: Fix namespace package imports.

This commit is contained in:
Eric Snow 2015-05-15 21:54:59 -06:00
parent 188c18d48f
commit 183a941bc1
8 changed files with 4525 additions and 4591 deletions

View file

@ -35,6 +35,7 @@ try:
except ImportError:
from . import _bootstrap_external
_bootstrap_external._setup(_bootstrap)
_bootstrap._bootstrap_external = _bootstrap_external
else:
_bootstrap_external.__name__ = 'importlib._bootstrap_external'
_bootstrap_external.__package__ = 'importlib'