Author Bryan.Schmersal
Recipients Bryan.Schmersal, abaron, astrand, brett.cannon, gregory.p.smith, kosuha, michaeltsai, ronaldoussoren, twouters
Date 2011-06-10.19:25:56
SpamBayes Score 1.81259e-07
Marked as misclassified No
Message-id <1307733957.38.0.158746835966.issue1590864@psf.upfronthosting.co.za>
In-reply-to
Content
I have a module that I was using on 2.5 that uses subprocess.Popen to monitor the output from some external programs in several different threads.  Of course, subprocess.Popen uses os.fork.  When I upgraded to 2.7 which includes this fix, this module ran into a deadlock since the fork is being executed from within an import.  One could argue that my approach is poor style but one of the goals of this module is simplicity for the users....they simply need to import it to get the functionality of the module.

Was this a desired side-effect?
History
Date User Action Args
2011-06-10 19:25:57Bryan.Schmersalsetrecipients: + Bryan.Schmersal, twouters, brett.cannon, gregory.p.smith, astrand, ronaldoussoren, michaeltsai, kosuha, abaron
2011-06-10 19:25:57Bryan.Schmersalsetmessageid: <1307733957.38.0.158746835966.issue1590864@psf.upfronthosting.co.za>
2011-06-10 19:25:56Bryan.Schmersallinkissue1590864 messages
2011-06-10 19:25:56Bryan.Schmersalcreate