This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author torsten
Recipients ggenellina, gregory.p.smith, gvanrossum, ita1024, jba, jcea, loewis, therve, torsten, vstinner
Date 2014-06-17.06:53:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> ita1024: please don't post to closed issues; your message here will be ignored.

Bugs for Python 2 will be ignored anyway so what can you do? I am currently fighting with the effects of using threads, subprocess.Popen and sqlite in Python2 and found this bug report.

Among other issues (like a hang for still unknown reasons when calling subprocess.Popen) I have also seen gc getting disabled for a long running process which has multiple threads and starts processes via subprocess.Popen from different threads.

The attached example reproduces disabling GC for me in Python 2.7.6. I checked with Python 3.4 and it is fixed there. Looking at the source, Python 3 implements subprocess.Popen correctly by doing fork + execve at the C side, unless the caller really wants to run a preexec_fn and is prepared for the failure.

Another case for using Python 3...
Date User Action Args
2014-06-17 06:53:53torstensetrecipients: + torsten, gvanrossum, loewis, gregory.p.smith, jcea, ggenellina, therve, vstinner, jba, ita1024
2014-06-17 06:53:53torstensetmessageid: <>
2014-06-17 06:53:53torstenlinkissue1336 messages
2014-06-17 06:53:53torstencreate