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 jba
Recipients ggenellina, gvanrossum, jba
Date 2007-12-05.17:34:20
SpamBayes Score 0.002161963
Marked as misclassified No
Message-id <31c6fe8f0712050934n1b7c6762ic6dcbb5d80a2e43@mail.gmail.com>
In-reply-to <ca471dc20710301143j3a4da58dn4928d3706c4bf951@mail.gmail.com>
Content
Sorry for the long delay -- I had to put the patch into production to
get the volume of work needed to reveal the problem. There has been no
occurrence for about two weeks now, so I am declaring victory.
(Previously it would happen about once a day.) Attached is
subprocess_nogc.py, which is subprocess.py with exactly the changes
you suggested.

On Oct 30, 2007 1:43 PM, Guido van Rossum <report@bugs.python.org> wrote:
>
> Guido van Rossum added the comment:
>
> In Python, you can't raise an exception from file_dealloc. (Note how
> it is a void function -- there's no way to return an error status.)
>
> Disabling gc however makes sense. I'll think about that. Since you
> seem to have the only reproducible occurrence of this bug, try this:
> right after the "# Child" comment add a call to gc.disable(). You
> should import gc at the top of the module with the rest of the
> imports.
>
>
> __________________________________
> Tracker <report@bugs.python.org>
> <http://bugs.python.org/issue1336>
> __________________________________
>
Files
File name Uploaded
subprocess_nogc.py jba, 2007-12-05.17:34:13
History
Date User Action Args
2007-12-05 17:34:21jbasetspambayes_score: 0.00216196 -> 0.002161963
recipients: + jba, gvanrossum, ggenellina
2007-12-05 17:34:20jbalinkissue1336 messages
2007-12-05 17:34:20jbacreate