]> granicus.if.org Git - python/commit
Handle importing pkg.mod by executing
authorBrett Cannon <brett@python.org>
Sun, 15 Apr 2012 01:50:00 +0000 (21:50 -0400)
committerBrett Cannon <brett@python.org>
Sun, 15 Apr 2012 01:50:00 +0000 (21:50 -0400)
commit49f8d8b016b030b7501ce8dc2babe5dfc14985e9
tree8ae9126a13aa37da0d7d53e914e5e20864cb5c47
parent59f9c3affc68611ef871212ab17d086c33107d82
Handle importing pkg.mod by executing
__import__('mod', {'__packaging__': 'pkg', level=1) w/o properly (and
thus not segfaulting).
Lib/importlib/_bootstrap.py
Lib/importlib/test/import_/test_relative_imports.py
Python/import.c
Python/importlib.h