[Python-checkins] r72833 - python/trunk/Tools/freeze/makeconfig.py

georg.brandl python-checkins at python.org
Fri May 22 19:00:17 CEST 2009


Author: georg.brandl
Date: Fri May 22 19:00:17 2009
New Revision: 72833

Log:
#6078: _warnings is a builtin module and has no standard init_warnings function.

Modified:
   python/trunk/Tools/freeze/makeconfig.py

Modified: python/trunk/Tools/freeze/makeconfig.py
==============================================================================
--- python/trunk/Tools/freeze/makeconfig.py	(original)
+++ python/trunk/Tools/freeze/makeconfig.py	Fri May 22 19:00:17 2009
@@ -3,7 +3,7 @@
 
 # Write the config.c file
 
-never = ['marshal', '__main__', '__builtin__', 'sys', 'exceptions']
+never = ['marshal', '__main__', '__builtin__', 'sys', 'exceptions', '_warnings']
 
 def makeconfig(infp, outfp, modules, with_ifdef=0):
     m1 = re.compile('-- ADDMODULE MARKER 1 --')


More information about the Python-checkins mailing list