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 vstinner
Recipients gvanrossum, vstinner, yselivanov
Date 2015-07-09.14:35:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1436452531.42.0.805285460012.issue24598@psf.upfronthosting.co.za>
In-reply-to
Content
> Hm. If the problem is most prominent with 3.3, why mark the issue as 3.6?

Well, I plan to implement this feature in "asyncio", so for 3.3-3.6 in fact.

> Do you have an implementation already?

Nope, it's more a TODO task for myself :-)

> Maybe it can be a 3rd party package rather than integrated in asyncio debug mode?

Hum, I'm not sure. My idea is to add code in Future.set_exception() because I will probably need a reference to the exception object (and maybe to the Future object). Currently, it's not possible to replace the Future class (whereas we have BaseEventLoop.set_task_factory and BaseEventLoop.create_task). I don't think that it's worth to make it possible to replace/hook this class. I don't expect a huge complex code to detect reference cycles.

Please give me some weeks to investigate this issue. It will be easier to discuss with a working patch.

I opened the issue as a reminder for myself, but also to colaborate on it.
History
Date User Action Args
2015-07-09 14:35:31vstinnersetrecipients: + vstinner, gvanrossum, yselivanov
2015-07-09 14:35:31vstinnersetmessageid: <1436452531.42.0.805285460012.issue24598@psf.upfronthosting.co.za>
2015-07-09 14:35:31vstinnerlinkissue24598 messages
2015-07-09 14:35:31vstinnercreate