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 yselivanov
Recipients giampaolo.rodola, gvanrossum, pitrou, richard.kiss, vstinner, yselivanov
Date 2014-06-24.00:37:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1403570259.64.0.128992744738.issue21163@psf.upfronthosting.co.za>
In-reply-to
Content
>@Guido, @Yury: What do you think of log_destroyed_pending_task.patch? Does it sound correct?

Premature task garbage collection is indeed hard to debug. But at least, with your patch, one gets an exception and has a chance to track the bug down. So I'm +1 for the patch.

As for having strong references to tasks: it may have its own downsides, such as hard to debug memory leaks. I'd rather prefer my program to crash and/or having your patch report me the problem, than to search for an obscure code that eats all server memory once a week. I think we need to collect more evidence that the problem is common & annoying, before making any decisions on this topic, as that's something that will be hard to revert. Hence I'm -1 for strong references.
History
Date User Action Args
2014-06-24 00:37:39yselivanovsetrecipients: + yselivanov, gvanrossum, pitrou, vstinner, giampaolo.rodola, richard.kiss
2014-06-24 00:37:39yselivanovsetmessageid: <1403570259.64.0.128992744738.issue21163@psf.upfronthosting.co.za>
2014-06-24 00:37:39yselivanovlinkissue21163 messages
2014-06-24 00:37:38yselivanovcreate