This will be the final release of PyAwaitable 1.x!
What's New?
- Added
PyAwaitable_DeferAwait
for executing code without a coroutine when the awaitable object is called by the event loop.
What's Fixed?
- Objects returned by a PyAwaitable object's
__await__
are now garbage collected (i.e., they don't leak with rare circular references).
What's Changed?
- Significantly reduced
PyAwaitable
object size by dynamically allocating it. - Reduced memory footprint by removing preallocated awaitable objects.
- Removed limit on the number of stored callbacks or values.
- Switched some user-error messages to
RuntimeError
instead ofSystemError
.