STINNER Victor added the comment:

> I'm happy with something that checks for the version and either adds the 
> __del__ method (for 3.4) or uses the _TracebackLogger (for 3.3).

Ok. Here is a patch. The class is still defined on Python 3.4. You may move the 
definition of the class in a "if not PY34:" class. I did not the change to have 
a shorter patch.

----------
Added file: http://bugs.python.org/file33107/asyncio_log_traceback-2.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue19967>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to