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 the with 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 C long on Python 3, instead of raising an OverflowError.

    Reported by TheYOSH. See :issue:1733.