[Patches] [ python-Patches-489173 ] Make os.spawnv not block the interpreter

noreply@sourceforge.net noreply@sourceforge.net
Thu, 06 Dec 2001 07:25:10 -0800


Patches item #489173, was opened at 2001-12-04 17:22
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=489173&group_id=5470

Category: Core (C code)
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Anthony Roach (anthonyroach)
>Assigned to: Fred L. Drake, Jr. (fdrake)
Summary: Make os.spawnv not block the interpreter

Initial Comment:
Someone forgot to bracket the calls to _spawnv() and
_spawnve() with Py_BEGIN_ALLOW_THREADS and
Py_END_ALLOW_THREADS. This patch also fixes an error in
the docstrings for os.spawnv and os.spawnve.

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

>Comment By: Fred L. Drake, Jr. (fdrake)
Date: 2001-12-06 07:25

Message:
Logged In: YES 
user_id=3066

Are there any objections to my checking this in for Python 2.2?

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

Comment By: Guido van Rossum (gvanrossum)
Date: 2001-12-06 06:01

Message:
Logged In: YES 
user_id=6380

I see no problem with the patch.

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

Comment By: Steven Knight (stevenknight)
Date: 2001-12-06 04:04

Message:
Logged In: YES 
user_id=216109

As the SCons project lead, it would be nice to have a
response from someone on the Python team acknowledging that
this is the right fix for this bug.  As it is, it looks like
we're going to have to ship SCons without -j support on
WIN32 systems due to this problem in Python, but it would be
nice to be able to point people to this patch with
confidence, if they want to add the support to their own
copy of Python themselves.

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

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