0.9.1 preparation -- updated NEWS, version number. Commented in urllib.py so the hackiness is well-understood.

This commit is contained in:
Ryan Williams
2009-11-30 16:09:56 -08:00
parent 9a164a27b4
commit 6b4acfc688
3 changed files with 21 additions and 1 deletions

16
NEWS
View File

@@ -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
=====

View File

@@ -1,2 +1,2 @@
version_info = (0, 9, 0)
version_info = (0, 9, '1pre')
__version__ = '%s.%s.%s' % version_info

View File

@@ -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))