[ANN] Greenlet 0.3.1 released

Kyle Ambroff kyle at ambroff.com
Tue Apr 6 01:12:11 CEST 2010

Announcing the release of greenlet 0.3.1:


0.3.1 is a bugfix release that fixes a critical reference leak bug. The 0.3
release introduced support for passing keyword arguments to the switch method.
There was an edge case where an empty keyword argument dictionary would not have
its reference count decremented, which would cause a memory leak.

Thanks to Marcin Bachry for reporting the bug and providing a patch.

What is Greenlet?
The greenlet package is a spin-off of Stackless, a version of CPython
that supports micro-threads called "tasklets". Tasklets run
pseudo-concurrently (typically in a single or a few OS-level threads)
and are synchronized with data exchanges on "channels". A "greenlet",
on the other hand, is a still more primitive notion of micro-thread
with no implicit scheduling; coroutines, in other words.

greenlet is used by several non-blocking IO packages as a more flexible
alternative to Python's built in coroutines.

 * concurrence
 * eventlet
 * gevent

Mercurial repository:


-Kyle Ambroff

More information about the Python-announce-list mailing list