New submission from STINNER Victor:
Thanks to the PEP 442 (Safe object finalization), _TracebackLogger helper of
asyncio.Futures becomes useless.
Attached patch removes it.
--
If you agree to diverge code with Tulip project, the Python 3.3 code of
WriteTransport.writelines can also be removed:
if not PY34:
# In Python 3.3, bytes.join() doesn't handle memoryview.
list_of_data = (
bytes(data) if isinstance(data, memoryview) else data
for data in list_of_data)
----------
files: asyncio_log_traceback.patch
keywords: patch
messages: 205988
nosy: gvanrossum, haypo, pitrou
priority: normal
severity: normal
status: open
title: asyncio: remove _TracebackLogger
versions: Python 3.4
Added file: http://bugs.python.org/file33106/asyncio_log_traceback.patch
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue19967>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com