summaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2009-05-22 17:00:17 (GMT)
committerGeorg Brandl <georg@python.org>2009-05-22 17:00:17 (GMT)
commiteae1b28fb128056144d05892eb2e9f10b4a34cfb (patch)
treea3e84349f61d981190b41d6b573463c9ac45dedb /Tools
parentbc4af35f9ea902d0d4c992ee5e6613b708007f5e (diff)
downloadcpython-eae1b28fb128056144d05892eb2e9f10b4a34cfb.zip
cpython-eae1b28fb128056144d05892eb2e9f10b4a34cfb.tar.gz
cpython-eae1b28fb128056144d05892eb2e9f10b4a34cfb.tar.bz2
#6078: _warnings is a builtin module and has no standard init_warnings function.
Diffstat (limited to 'Tools')
-rw-r--r--Tools/freeze/makeconfig.py2
1 files changed, 1 insertions, 1 deletions
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 --')