• Victor Stinner's avatar
    asyncio: sync with Tulip · c39ba7d6
    Victor Stinner authored
    - repr(Task) and repr(CoroWrapper) now also includes where these objects were
      created. If the coroutine is not a generator (don't use "yield from"), use
      the location of the function, not the location of the coro() wrapper.
    - Fix create_task(): truncate the traceback to hide the call to create_task().
    c39ba7d6
test_tasks.py 61.1 KB