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 gvanrossum
Recipients ggenellina, gvanrossum, jba
Date 2007-10-30.18:43:33
SpamBayes Score 0.0017287718
Marked as misclassified No
Message-id <ca471dc20710301143j3a4da58dn4928d3706c4bf951@mail.gmail.com>
In-reply-to <31c6fe8f0710301052v5ba5ff9o8c60de7834a2ae0e@mail.gmail.com>
Content
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.
History
Date User Action Args
2007-10-30 18:43:34gvanrossumsetspambayes_score: 0.00172877 -> 0.0017287718
recipients: + gvanrossum, ggenellina, jba
2007-10-30 18:43:34gvanrossumlinkissue1336 messages
2007-10-30 18:43:33gvanrossumcreate