From: Georg Brandl Date: Fri, 22 May 2009 17:00:17 +0000 (+0000) Subject: #6078: _warnings is a builtin module and has no standard init_warnings function. X-Git-Tag: v2.7a1~1127 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=eae1b28fb128056144d05892eb2e9f10b4a34cfb;p=python #6078: _warnings is a builtin module and has no standard init_warnings function. --- diff --git a/Tools/freeze/makeconfig.py b/Tools/freeze/makeconfig.py index 7cd9b78478..b9bfd08d3a 100644 --- a/Tools/freeze/makeconfig.py +++ b/Tools/freeze/makeconfig.py @@ -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 --')