summaryrefslogtreecommitdiff
path: root/Python/compile.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2020-03-31 17:25:12 +0200
committerGitHub <noreply@github.com>2020-03-31 17:25:12 +0200
commit8d84adcd736619c2ce510dff1e7ffd3ab08df06a (patch)
treed95ccebcf82fbe67588887372e1718c3819f0cd7 /Python/compile.c
parent5be8241392453751beea21d2e32096c15a8d47db (diff)
downloadcpython-git-8d84adcd736619c2ce510dff1e7ffd3ab08df06a.tar.gz
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.
Diffstat (limited to 'Python/compile.c')
0 files changed, 0 insertions, 0 deletions