[issue23587] asyncio: use the new traceback.TracebackException class

2017-06-27 Thread STINNER Victor
STINNER Victor added the comment: Sorry, I'm not interested anymore to work on asyncio, so I just close this old issue which has no activity since March 2015. I'm not even sure that it's doable to use traceback.TracebackException in asyncio. Moreover, Python and asyncio evolved in the meanwhil

[issue23587] asyncio: use the new traceback.TracebackException class

2015-03-04 Thread STINNER Victor
STINNER Victor added the comment: By the way, Robert Collins proposed the following change in part of #17911, but it was removed in the final change because asyncio must support Python 3.4 (and 3.3): diff --git a/Lib/asyncio/events.py b/Lib/asyncio/events.py index 01320cd..08740aa 100644 --- a

[issue23587] asyncio: use the new traceback.TracebackException class

2015-03-04 Thread STINNER Victor
STINNER Victor added the comment: See also: https://code.google.com/p/tulip/issues/detail?id=155 https://code.google.com/p/tulip/issues/detail?id=42 http://bugs.python.org/issue17911 -- ___ Python tracker _

[issue23587] asyncio: use the new traceback.TracebackException class

2015-03-04 Thread STINNER Victor
New submission from STINNER Victor: In Python 3, an exception contains a traceback. A traceback contains frames which contain local variables. Sometimes, the newly raised exception is a local variable and so we get a reference cycle: exc -> traceback -> frame -> exc... In asyncio, it's a real