mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Since the errno module is needed by os._execvpe(), and that is used by the
setup.py (indirectly) script to build the standard dynamically loaded modules, the errno module is being made static so it will always be available. Closes SF bug #591205 (needed on trunk only).
This commit is contained in:
parent
2805428d92
commit
5f8a23f32f
2 changed files with 1 additions and 3 deletions
|
@ -109,6 +109,7 @@ PYTHONPATH=$(COREPYTHONPATH)
|
||||||
# setup.py script in the root of the Python source tree.
|
# setup.py script in the root of the Python source tree.
|
||||||
|
|
||||||
posix posixmodule.c # posix (UNIX) system calls
|
posix posixmodule.c # posix (UNIX) system calls
|
||||||
|
errno errnomodule.c # posix (UNIX) errno values
|
||||||
_sre _sre.c # Fredrik Lundh's new regular expressions
|
_sre _sre.c # Fredrik Lundh's new regular expressions
|
||||||
|
|
||||||
# The rest of the modules listed in this file are all commented out by
|
# The rest of the modules listed in this file are all commented out by
|
||||||
|
@ -177,7 +178,6 @@ GLHACK=-Dclear=__GLclear
|
||||||
#fcntl fcntlmodule.c # fcntl(2) and ioctl(2)
|
#fcntl fcntlmodule.c # fcntl(2) and ioctl(2)
|
||||||
#pwd pwdmodule.c # pwd(3)
|
#pwd pwdmodule.c # pwd(3)
|
||||||
#grp grpmodule.c # grp(3)
|
#grp grpmodule.c # grp(3)
|
||||||
#errno errnomodule.c # posix (UNIX) errno values
|
|
||||||
#select selectmodule.c # select(2); not on ancient System V
|
#select selectmodule.c # select(2); not on ancient System V
|
||||||
|
|
||||||
# Memory-mapped files (also works on Win32).
|
# Memory-mapped files (also works on Win32).
|
||||||
|
|
2
setup.py
2
setup.py
|
@ -315,8 +315,6 @@ class PyBuildExt(build_ext):
|
||||||
exts.append( Extension('pwd', ['pwdmodule.c']) )
|
exts.append( Extension('pwd', ['pwdmodule.c']) )
|
||||||
# grp(3)
|
# grp(3)
|
||||||
exts.append( Extension('grp', ['grpmodule.c']) )
|
exts.append( Extension('grp', ['grpmodule.c']) )
|
||||||
# posix (UNIX) errno values
|
|
||||||
exts.append( Extension('errno', ['errnomodule.c']) )
|
|
||||||
# select(2); not on ancient System V
|
# select(2); not on ancient System V
|
||||||
exts.append( Extension('select', ['selectmodule.c']) )
|
exts.append( Extension('select', ['selectmodule.c']) )
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue