Skip to content

0.12.0

Choose a tag to compare

@x42005e1f x42005e1f released this 14 Dec 05:30
· 563 commits to main since this release
5042457

Changed

  • Support for cancellation and timeouts has been dramatically improved. The cancel() method (and accompanying is_cancelled()) has been added to low-level events, which always returns True after the first successful call before set() and False otherwise. Previously, cancellation handling used the same set() call, which resulted in false negatives, in particular unnecessary wakes.

Fixed

  • Added missing await keyword in aiologic.Condition, without which it did not restore the state of the wrapped aiologic.RLock (0.11.0 regression).
  • Priority queue initialization now ensures the heap invariant for the passed list. Previously, passing a list with an incorrect order of elements violated the order in which the priority queue elements were returned.
  • Low-level event classes are now created in exclusive mode, eliminating possible slowdown in method resolution.