bpo-32591: _PyErr_WarnUnawaitedCoroutine() sets source (GH-19247)
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.
V
Victor Stinner committed
8d84adcd736619c2ce510dff1e7ffd3ab08df06a
Parent: 5be8241
Committed by GitHub <noreply@github.com>
on 3/31/2020, 3:25:12 PM