From eae1b28fb128056144d05892eb2e9f10b4a34cfb Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Fri, 22 May 2009 17:00:17 +0000 Subject: #6078: _warnings is a builtin module and has no standard init_warnings function. --- Tools/freeze/makeconfig.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tools/freeze/makeconfig.py b/Tools/freeze/makeconfig.py index 7cd9b78..b9bfd08 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 --') -- cgit v0.12