gevent v20.12.1 Release Notes
Release Date: 2020-12-27 // over 3 years ago-
๐ Features
- ๐ Make :class:
gevent.Greenlet
objects function as context managers. When thewith
suite finishes, execution doesn't continue until the greenlet is finished. This can be a simpler alternative to a :class:gevent.pool.Group
when the lifetime of greenlets can be lexically scoped.
Suggested by Andrรฉ Caron. See :issue:
1324
.๐ Bugfixes
- ๐ Make gevent's
Semaphore
objects properly handle native thread identifiers larger than can be stored in a Clong
on Python 3, instead of raising anOverflowError
.
Reported by TheYOSH. See :issue:
1733
.
- ๐ Make :class: