]> granicus.if.org Git - python/commit
Correctly cleanup sys.modules after executing runpy relative import
authorNick Coghlan <ncoghlan@gmail.com>
Mon, 23 Jul 2007 13:41:45 +0000 (13:41 +0000)
committerNick Coghlan <ncoghlan@gmail.com>
Mon, 23 Jul 2007 13:41:45 +0000 (13:41 +0000)
commitae21fc6d1fa52d6c26cca797cf1f88cd45f2f143
treedfd7715d7840307353631b43e280a41ccc901029
parentf17a2e4f874a7f3e21a442c5adbbe600de0718f5
Correctly cleanup sys.modules after executing runpy relative import
tests
Restore Python 2.4 ImportError when attempting to execute a package
(as imports cannot be guaranteed to work properly if you try it)
Lib/runpy.py
Lib/test/test_runpy.py