Skip to content

v4.1.1

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 10 May 08:45

A RuntimeError is now raised when entering context managers more than once,
for objects for which it would cause undefined behavior.
Impacted classes are the following:

  • Buckets:

  • FixedWindowCounter

  • LeakyBucket

  • SlidingWindowLog

  • BucketGroup

  • Rate Controllers (not considering the underlying buckets):

  • Scheduler

The __slots__ attribute was removed from all buckets and rate controllers,
for practical reasons <https://stackoverflow.com/a/53089249>_.