0.9.13 out!

It’s been too long, hasn’t it? The major new things of interest in this release are the ZeroMQ support, eventlet.green.MySQLdb, and greenthread affinity in tpool. Please try out all three of these new features and file issues if you find bugs!

How get it:

File issues/bugs here.

Full changelog:

  • ZeroMQ hub, and eventlet.green.zmq make supersockets green. Thanks to Ben Ford! Check out the examples zmq_chat.py and
  • eventlet.green.MySQLdb added. It’s an interface to MySQLdb that uses tpool to make it appear nonblocking
  • Greenthread affinity in tpool. Each greenthread is assigned to the same thread when using tpool, making it easier to work with
    non-thread-safe libraries.
  • Eventlet now depends on greenlet 0.3 or later.
  • Fixed a hang when using tpool during an import causes another import. Thanks to mikepk for tracking that down.
  • Improved websocket draft 76 compliance, thanks to Nick V.
  • Rare greenthread.kill() bug fixed, which was probably brought about by a bugfix in greenlet 0.3.
  • Easy_installing eventlet should no longer print an ImportError about greenlet
  • Support for serving up SSL websockets, thanks to chwagssd for reporting #62
  • eventlet.wsgi properly sets ‘wsgi.url_scheme’ environment variable to ‘https’, and ‘HTTPS’ to ‘on’ if serving over ssl
  • Blocking detector uses setitimer on 2.6 or later, allowing for sub-second block detection, thanks to rtyler.
  • Blocking detector is documented now, too
  • socket.create_connection properly uses dnspython for nonblocking dns. Thanks to rtyler.
  • Removed EVENTLET_TPOOL_DNS, nobody liked that. But if you were using it, install dnspython instead. Thanks to pigmej and gholt.
  • Removed _main_wrapper from greenthread, thanks to Ambroff adding keyword arguments to switch() in 0.3!

The md5sum of the tarball is 2273527ca1715bad018090fdd2d480cf.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


Get every new post delivered to your Inbox.