[Python-checkins] r85399 - in python/branches/release27-maint: Lib/runpy.py

benjamin.peterson python-checkins at python.org
Wed Oct 13 03:10:17 CEST 2010


Author: benjamin.peterson
Date: Wed Oct 13 03:10:16 2010
New Revision: 85399
Log:
Merged revisions 85398 via svnmerge from 
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
 r85398 | benjamin.peterson | 2010年10月12日 20:04:36 -0500 (2010年10月12日) | 1 line
 
 account for the module __dict__ being cleared when its module is
........
Modified:
 python/branches/release27-maint/ (props changed)
 python/branches/release27-maint/Lib/runpy.py
Modified: python/branches/release27-maint/Lib/runpy.py
==============================================================================
--- python/branches/release27-maint/Lib/runpy.py	(original)
+++ python/branches/release27-maint/Lib/runpy.py	Wed Oct 13 03:10:16 2010
@@ -261,7 +261,7 @@
 _ModifiedArgv0(path_name):
 mod_globals = temp_module.module.__dict__
 return _run_code(code, mod_globals, init_globals,
- run_name, fname, loader, pkg_name)
+ run_name, fname, loader, pkg_name).copy()
 finally:
 try:
 sys.path.remove(path_name)


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /