Skip to content

1.4.0

Latest
Compare
Choose a tag to compare
@ZeroIntensity ZeroIntensity released this 10 Feb 02:59
· 1 commit to master since this release
8783da2

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 of SystemError.