mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Patch to make _codecs a builtin module. This is necessary since
Python 2.3 will support source code encodings which rely on the builtin codecs being available to the parser. Remove struct dependency from codecs.py
This commit is contained in:
parent
b69bb3d019
commit
b28de0d79f
4 changed files with 17 additions and 9 deletions
2
setup.py
2
setup.py
|
@ -313,8 +313,6 @@ class PyBuildExt(build_ext):
|
|||
libraries=math_libs) )
|
||||
# operator.add() and similar goodies
|
||||
exts.append( Extension('operator', ['operator.c']) )
|
||||
# access to the builtin codecs and codec registry
|
||||
exts.append( Extension('_codecs', ['_codecsmodule.c']) )
|
||||
# Python C API test module
|
||||
exts.append( Extension('_testcapi', ['_testcapimodule.c']) )
|
||||
# static Unicode character database
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue