Lele Gaifax added the comment: FWIW, the problem afflicts other functions, for example the following script exhibits a similar difference:
import asyncio async def coro(): print(asyncio.Task.all_tasks()) print(asyncio.Task.all_tasks(None)) loop = asyncio.get_event_loop() loop.run_until_complete(coro()) ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue29271> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com