Commit 0a8f5192 authored by Stefan Behnel's avatar Stefan Behnel

Merge branch '0.23.x'

parents e5a86777 554b2a47
...@@ -53,6 +53,8 @@ Bugs fixed ...@@ -53,6 +53,8 @@ Bugs fixed
* Misnamed PEP 492 coroutine property ``cr_yieldfrom`` renamed to * Misnamed PEP 492 coroutine property ``cr_yieldfrom`` renamed to
``cr_await`` to match CPython. ``cr_await`` to match CPython.
* Crash when async coroutine was not awaited.
* Compiler crash on ``yield`` in signature annotations and default * Compiler crash on ``yield`` in signature annotations and default
argument values. Both are forbidden now. argument values. Both are forbidden now.
......
...@@ -1584,11 +1584,11 @@ if hasattr(_module, 'iscoroutine'): ...@@ -1584,11 +1584,11 @@ if hasattr(_module, 'iscoroutine'):
""") """)
); );
#endif #endif
// Py<3.5 // Py < 0x03040200
} }
Py_DECREF(package); Py_DECREF(package);
if (unlikely(!patch_module)) goto ignore; if (unlikely(!patch_module)) goto ignore;
#if PY_VERSION_HEX < 0x03050000 #if PY_VERSION_HEX < 0x03040200
asyncio_done: asyncio_done:
PyErr_Clear(); PyErr_Clear();
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment