[Patches] [ python-Patches-403642 ] BeOS dislikes import tempfile in _execvpe()

nobody nobody@sourceforge.net
Thu, 01 Mar 2001 23:05:38 -0800


Patches #403642, was updated on 2001-02-06 10:16
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=403642&group_id=5470

Category: library
Group: None
Status: Closed
Priority: 5
Submitted By: Donn Cave
Assigned to: Guido van Rossum
Summary: BeOS dislikes import tempfile in _execvpe()

Initial Comment:
UNIX style fork/execve/wait are not fully compatible with thread support on BeOS.
For Python, that means neither fork() from import nor import from a fork work
reliably.  os._execvpe() does the latter, importing tempfile to set up a tantalizing
target for hackers.  This patch replaces both the tempfile name generation and
the exec that uses it, in case we're on BeOS.  Need this for setup:distutils:execvp();
symptoms are random crashes and internal BeOS error messages about th
name, in case we're on BeOS.  It's an issue because setup.py + distutils calls
os.execvp();  symptoms are random crashes during setup.py, and internal
BeOS error messages about thread IDs.

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

Comment By: Guido van Rossum
Date: 2001-03-01 23:05

Message:
Logged In: YES 
user_id=6380

Checked in - thanks!

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

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=403642&group_id=5470