]> granicus.if.org Git - python/commit
SF patch #489173: Make os.spawnv not block the interpreter, from
authorTim Peters <tim.peters@gmail.com>
Fri, 7 Dec 2001 20:35:43 +0000 (20:35 +0000)
committerTim Peters <tim.peters@gmail.com>
Fri, 7 Dec 2001 20:35:43 +0000 (20:35 +0000)
commit25059d30c39c0c703161987643f0c29df03147fb
treede22166aa881073d0d001153d3d7dd45046db067
parent2f09812efa0701721825b17086de3631462039a6
SF patch #489173:  Make os.spawnv not block the interpreter, from
Anthony Roach.
Release the global interpreter lock around platform spawn calls.
Bugfix candidate?  Hard to say; I favor "yes, bugfix".
These clearly *should* have been releasing the GIL all along, if for no
other reason than compatibility with the similar os.system().  But it's
possible some program out there is (a) multithreaded, (b) calling a spawn
function with P_WAIT, and (c) relying on the spawn call to block all their
threads until the spawned program completes.  I think it's very unlikely
anyone is doing that on purpose, but someone may be doing so by accident.
Misc/ACKS
Misc/NEWS
Modules/posixmodule.c