• Nathaniel J. Smith's avatar
    bpo-32591: Add native coroutine origin tracking (#5250) · fc2f4078
    Nathaniel J. Smith authored
    * Add coro.cr_origin and sys.set_coroutine_origin_tracking_depth
    * Use coroutine origin information in the unawaited coroutine warning
    * Stop using set_coroutine_wrapper in asyncio debug mode
    * In BaseEventLoop.set_debug, enable debugging in the correct thread
    fc2f4078
_warnings.c 37 KB