[Python-bugs-list] [ python-Bugs-591205 ] errno not available at setup.py time

noreply@sourceforge.net noreply@sourceforge.net
Mon, 05 Aug 2002 10:31:52 -0700


Bugs item #591205, was opened at 2002-08-05 13:31
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=591205&group_id=5470

Category: Python Library
Group: Python 2.3
Status: Open
Resolution: None
Priority: 8
Submitted By: Fred L. Drake, Jr. (fdrake)
Assigned to: Guido van Rossum (gvanrossum)
Summary: errno not available at setup.py time

Initial Comment:
This bug was introduced in Lib/os.py 1.59.

Distutils uses os._execvpe (indirectly) while building
extension modules, but the errno import can fail while
building the standard dynamically loadable modules that
come with Python.  This means that a clean build from
sources is not possible; the errno module must already
be available.

I can fix this by making the errno module built-in
statically, but would like approval before doing so,
since there may be other ways of dealing with this.  I
suspect errno is almost always used, however, so there
shouldn't be any problems with building it statically.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=591205&group_id=5470