diff --git a/NEWS b/NEWS index ec71eba..d728263 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,19 @@ +0.9.1 +===== + +* PyOpenSSL is no longer required for Python 2.6: use the eventlet.green.ssl module. 2.5 and 2.4 still require PyOpenSSL. +* Documentation on using SSL added. +* Cleaned up the eventlet.green packages and their associated tests, this should result in fewer version-dependent bugs with these modules. +* New green modules: ayncore, asynchat, SimpleHTTPServer, CGIHTTPServer, ftplib. +* Fuller thread/threading compatibility: patching threadlocal with corolocal so coroutines behave even more like threads. +* Improved Windows compatibility for tpool.py +* With-statement compatibility for pools.Pool objects. +* Refactored copyrights in the files, added LICENSE and AUTHORS files. +* Added support for logging x-forwarded-for header in wsgi. +* api.tcp_server is now deprecated, will be removed in a future release. +* Added instructions on how to generate coverage reports to the documentation. +* Bug fixes in: wsgi.py, twistedr.py, poll.py, greenio.py, util.py, select.py + 0.9.0 ===== diff --git a/eventlet/__init__.py b/eventlet/__init__.py index fb27b1c..9e6e269 100644 --- a/eventlet/__init__.py +++ b/eventlet/__init__.py @@ -1,2 +1,2 @@ -version_info = (0, 9, 0) +version_info = (0, 9, '1pre') __version__ = '%s.%s.%s' % version_info diff --git a/eventlet/green/urllib.py b/eventlet/green/urllib.py index fe5c02d..a5d7b32 100644 --- a/eventlet/green/urllib.py +++ b/eventlet/green/urllib.py @@ -14,6 +14,10 @@ except ImportError: patcher.inject('urllib', globals(), *to_patch) +# patch a bunch of things that have imports inside the +# function body; this is lame and hacky but I don't feel +# too bad because urllib is a hacky pile of junk that no +# one should be using anyhow URLopener.open_http = patcher.patch_function(URLopener.open_http, ('httplib', httplib)) if hasattr(URLopener, 'open_https'): URLopener.open_https = patcher.patch_function(URLopener.open_https, ('httplib', httplib))