mirror of https://github.com/python/cpython
Browse Source
The _PyErr_WarnUnawaitedCoroutine() fallback now also sets the coroutine object as the source of the warning, as done by the Python implementation warnings._warn_unawaited_coroutine(). Moreover, don't truncate the coroutine name: Python supports arbitrary string length to format the message.pull/19200/head
committed by
GitHub
1 changed files with 20 additions and 3 deletions
Loading…
Reference in new issue