[Python-checkins] r82870 - in python/branches/release27-maint: Lib/test/test_support.py
alexander.belopolsky
python-checkins at python.org
Wed Jul 14 02:05:00 CEST 2010
Author: alexander.belopolsky
Date: Wed Jul 14 02:05:00 2010
New Revision: 82870
Log:
Merged revisions 82850 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r82850 | alexander.belopolsky | 2010-07-13 10:50:16 -0400 (Tue, 13 Jul 2010) | 1 line
Set sys.modules[name] to None instead of 0 to block module import.
........
Modified:
python/branches/release27-maint/ (props changed)
python/branches/release27-maint/Lib/test/test_support.py
Modified: python/branches/release27-maint/Lib/test/test_support.py
==============================================================================
--- python/branches/release27-maint/Lib/test/test_support.py (original)
+++ python/branches/release27-maint/Lib/test/test_support.py Wed Jul 14 02:05:00 2010
@@ -105,7 +105,7 @@
orig_modules[name] = sys.modules[name]
except KeyError:
saved = False
- sys.modules[name] = 0
+ sys.modules[name] = None
return saved
More information about the Python-checkins
mailing list