Message246504
> 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. |
|
Date |
User |
Action |
Args |
2015-07-09 14:35:31 | vstinner | set | recipients:
+ vstinner, gvanrossum, yselivanov |
2015-07-09 14:35:31 | vstinner | set | messageid: <1436452531.42.0.805285460012.issue24598@psf.upfronthosting.co.za> |
2015-07-09 14:35:31 | vstinner | link | issue24598 messages |
2015-07-09 14:35:31 | vstinner | create | |
|