mirror of https://github.com/python/cpython
#6078: _warnings is a builtin module and has no standard init_warnings function.
This commit is contained in:
parent
bc4af35f9e
commit
eae1b28fb1
|
@ -3,7 +3,7 @@ import re
|
||||||
|
|
||||||
# Write the config.c file
|
# 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):
|
def makeconfig(infp, outfp, modules, with_ifdef=0):
|
||||||
m1 = re.compile('-- ADDMODULE MARKER 1 --')
|
m1 = re.compile('-- ADDMODULE MARKER 1 --')
|
||||||
|
|
Loading…
Reference in New Issue