]> granicus.if.org Git - python/commitdiff
#6078: _warnings is a builtin module and has no standard init_warnings function.
authorGeorg Brandl <georg@python.org>
Fri, 22 May 2009 17:00:17 +0000 (17:00 +0000)
committerGeorg Brandl <georg@python.org>
Fri, 22 May 2009 17:00:17 +0000 (17:00 +0000)
Tools/freeze/makeconfig.py

index 7cd9b784788110a240f07aa4abf6483f103a1ae2..b9bfd08d3a81a51b112f4fcfb0646c92d37e0785 100644 (file)
@@ -3,7 +3,7 @@ import re
 
 # 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 --')