[ANNOUNCE] greenlet 0.4.0

102 views
Skip to first unread message

Ralf Schmitt

unread,
Jun 21, 2012, 3:45:17 PM6/21/12
to python-ann...@python.org, pytho...@python.org, gev...@googlegroups.com, event...@lists.secondlife.com
Hi,

I have uploaded greenlet 0.4.0 to PyPI:
http://pypi.python.org/pypi/greenlet

What is it?
-----------
The greenlet module provides coroutines for python. coroutines allow
suspending and resuming execution at certain locations.

concurrence[1], eventlet[2] and gevent[3] use the greenlet module in
order to implement concurrent network applications.

Documentation can be found here: http://greenlet.readthedocs.org

The code is hosted on github:
https://github.com/python-greenlet/greenlet


Changes in version 0.4.0
------------------------
The NEWS file lists these changes for release 0.4.0:

* Greenlet has an instance dictionary now, which means it can be
used for implementing greenlet local storage, etc. However, this
might introduce incompatibility if subclasses have __dict__ in their
__slots__. Classes like that will fail, because greenlet already
has __dict__ out of the box.
* Greenlet no longer leaks memory after thread termination, as long as
terminated thread has no running greenlets left at the time.
* Add support for debian sparc and openbsd5-sparc64
* Add support for ppc64 linux
* Don't allow greenlets to be copied with copy.copy/deepcopy
* Fix arm32/thumb support
* Restore greenlet's parent after kill
* Add experimental greenlet tracing


Many thanks to Alexey Borzenkov, who spent a lot of time on this release
and everyone else that helped make this release happen.


[1] http://opensource.hyves.org/concurrence/
[2] http://eventlet.net/
[3] http://www.gevent.org/

--
Cheers
Ralf Schmitt
Reply all
Reply to author
Forward
0 new messages