Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
python
/
cpython3
/
90235810ec28ca954bbf4b61a5ae5df7a00db409
/
.
/
Misc
/
NEWS.d
/
next
/
Core and Builtins
/
2020-03-15-03-52-01.bpo-39965.Od3ZdP.rst
blob: 4e3ac7ce7d681d23253cc4d21c4f4da677da2018 [
file
] [
log
] [
blame
]
Correctly
raise
``
SyntaxError
``
if
*
await
*
is
used inside non
-
async
functions
and
``
PyCF_ALLOW_TOP_LEVEL_AWAIT
``
is
set
(
like
in
the asyncio
REPL
).
Patch
by
Pablo
Galindo
.