4e8df12bad1d475aafd070acf796231ee4e1160b
[packages/trusty/python-eventlet.git] / python-eventlet / NEWS
1 0.17.4
2 ======
3 * ssl: incorrect initalization of default context; Thanks to stuart-mclaren
4
5 0.17.3
6 ======
7 * green.thread: Python3.3+ fixes; Thanks to Victor Stinner
8 * Semaphore.acquire() accepts timeout=-1; Thanks to Victor Stinner
9
10 0.17.2
11 ======
12 * wsgi: Provide python logging compatibility; Thanks to Sean Dague
13 * greendns: fix premature connection closing in DNS proxy; Thanks to Tim Simmons
14 * greenio: correct fd close; Thanks to Antonio Cuni and Victor Sergeyev
15 * green.ssl: HTTPS client Python 2.7.9+ compatibility
16 * setup: tests.{isolated,manual} polluted top-level packages
17
18 0.17.1
19 ======
20 * greendns: fix dns.name import and Python3 compatibility
21
22 0.17
23 ====
24 * Full Python3 compatibility; Thanks to Jakub Stasiak
25 * greendns: IPv6 support, improved handling of /etc/hosts; Thanks to Floris Bruynooghe
26 * tpool: make sure we return results during killall; Thanks to David Szotten
27 * semaphore: Don't hog a semaphore if someone else is waiting for it; Thanks to Shaun Stanworth
28 * green.socket: create_connection() was wrapping all exceptions in socket.error; Thanks to Donagh McCabe
29 * Make sure SSL retries are done using the exact same data buffer; Thanks to Lior Neudorfer
30 * greenio: shutdown already closed sockets without error; Thanks to David Szotten
31
32 0.16.1
33 ======
34 * Wheel build 0.16.0 incorrectly shipped removed module eventlet.util.
35
36 0.16.0
37 ======
38 * Fix SSL socket wrapping and Python 2.7.9 compatibility; Thanks to Jakub Stasiak
39 * Fix monkey_patch() on Python 3; Thanks to Victor Stinner
40 * Fix "maximum recursion depth exceeded in GreenSocket.__del__"; Thanks to Jakub Stasiak
41 * db_pool: BaseConnectionPool.clear updates .current_size #139; Thanks to Andrey Gubarev
42 * Fix __str__ method on the TimeoutExpired exception class.; Thanks to Tomaz Muraus
43 * hubs: drop Twisted support
44 * Removed deprecated modules: api, most of coros, pool, proc, processes and util
45 * Improved Python 3 compatibility (including patch by raylu); Thanks to Jakub Stasiak
46 * Allow more graceful shutdown of wsgi server; Thanks to Stuart McLaren
47 * wsgi.input: Make send_hundred_continue_headers() a public API; Thanks to Tushar Gohad
48 * tpool: Windows compatibility, fix ResourceWarning. Thanks to Victor Stinner
49 * tests: Fix timers not cleaned up on MySQL test skips; Thanks to Corey Wright
50
51 0.15.2
52 ======
53 * greenio: fixed memory leak, introduced in 0.15.1; Thanks to Michael Kerrin, Tushar Gohad
54 * wsgi: Support optional headers w/ "100 Continue" responses; Thanks to Tushar Gohad
55
56 0.15.1
57 ======
58 * greenio: Fix second simultaneous read (parallel paramiko issue); Thanks to Jan Grant, Michael Kerrin
59 * db_pool: customizable connection cleanup function; Thanks to Avery Fay
60
61 0.15
62 ====
63 * Python3 compatibility -- **not ready yet**; Thanks to Astrum Kuo, Davanum Srinivas, Jakub Stasiak, Victor Sergeyev
64 * coros: remove Actor which was deprecated in 2010-01
65 * saranwrap: remove saranwrap which was deprecated in 2010-02
66 * PyPy compatibility fixes; Thanks to Dmitriy Kruglyak, Jakub Stasiak
67 * green.profile: accumulate results between runs; Thanks to Zhang Hua
68 * greenthread: add .unlink() method; Thanks to Astrum Kuo
69 * packaging: Generate universal wheels; Thanks to Jakub Stasiak
70 * queue: Make join not wait if there are no unfinished tasks; Thanks to Jakub Stasiak
71 * tpool: proxy __enter__, __exit__ fixes Bitbucket-158; Thanks to Eric Urban
72 * websockets: Add websockets13 support; handle lack of Upgrade header; Thanks to Edward George
73 * wsgi: capitalize_response_headers option
74
75 0.14
76 ====
77 * wsgi: handle connection socket timeouts; Thanks to Paul Oppenheim
78 * wsgi: close timed out client connections
79 * greenio: socket pypy compatibility; Thanks to Alex Gaynor
80 * wsgi: env['wsgi.input'] was returning 1 byte strings; Thanks to Eric Urban
81 * green.ssl: fix NameError; Github #17; Thanks to Jakub Stasiak
82 * websocket: allow "websocket" in lowercase in Upgrade header; Compatibility with current Google Chrome; Thanks to Dmitry Orlov
83 * wsgi: allow minimum_chunk_size to be overriden on a per request basis; Thanks to David Goetz
84 * wsgi: configurable socket_timeout
85
86 0.13
87 ====
88 * hubs: kqueue support! Thanks to YAMAMOTO Takashi, Edward George
89 * greenio: Fix AttributeError on MacOSX; Bitbucket #136; Thanks to Derk Tegeler
90 * green: subprocess: Fix subprocess.communicate() block on Python 2.7; Thanks to Edward George
91 * green: select: ensure that hub can .wait() at least once before timeout; Thanks to YAMAMOTO Takashi
92 * tpool: single request queue to avoid deadlocks; Bitbucket pull request 31,32; Thanks to Edward George
93 * zmq: pyzmq 13.x compatibility; Thanks to Edward George
94 * green: subprocess: Popen.wait() accepts new `timeout` kwarg; Python 3.3 and RHEL 6.1 compatibility
95 * hubs: EVENTLET_HUB can point to external modules; Thanks to Edward George
96 * semaphore: support timeout for acquire(); Thanks to Justin Patrin
97 * support: do not clear sys.exc_info if can be preserved (greenlet >= 0.3.2); Thanks to Edward George
98 * Travis continous integration; Thanks to Thomas Grainger, Jakub Stasiak
99 * wsgi: minimum_chunk_size of last Server altered all previous (global variable); Thanks to Jakub Stasiak
100 * doc: hubs: Point to the correct function in exception message; Thanks to Floris Bruynooghe
101
102 0.12
103 ====
104 * zmq: Fix 100% busy CPU in idle after .bind(PUB) (thanks to Geoff Salmon)
105 * greenio: Fix socket.settimeout() did not switch back to blocking mode (thanks to Peter Skirko)
106 * greenio: socket.dup() made excess fcntl syscalls (thanks to Peter Portante)
107 * setup: Remove legacy --without-greenlet option and unused httplib2 dependency (thanks to Thomas Grainger)
108 * wsgi: environ[REMOTE_PORT], also available in log_format, log accept event (thanks to Peter Portante)
109 * tests: Support libzmq 3.0 SNDHWM option (thanks to Geoff Salmon)
110
111 0.11
112 ====
113 * ssl: Fix 100% busy CPU in socket.sendall() (thanks to Raymon Lu)
114 * zmq: Return linger argument to Socket.close() (thanks to Eric Windisch)
115 * tests: SSL tests were always skipped due to bug in skip_if_no_ssl decorator
116
117 0.10
118 ====
119 * greenio: Fix relative seek() (thanks to AlanP)
120 * db_pool: Fix pool.put() TypeError with min_size > 1 (thanks to Jessica Qi)
121 * greenthread: Prevent infinite recursion with linking to current greenthread (thanks to Edward George)
122 * zmq: getsockopt(EVENTS) wakes correct threads (thanks to Eric Windisch)
123 * wsgi: Handle client disconnect while sending response (thanks to Clay Gerrard)
124 * hubs: Ensure that new hub greenlet is parent of old one (thanks to Edward George)
125 * os: Fix waitpid() returning (0, 0) (thanks to Vishvananda Ishaya)
126 * tpool: Add set_num_threads() method to set the number of tpool threads (thanks to David Ibarra)
127 * threading, zmq: Fix Python 2.5 support (thanks to Floris Bruynooghe)
128 * tests: tox configuration for all supported Python versions (thanks to Floris Bruynooghe)
129 * tests: Fix zmq._QueueLock test in Python2.6
130 * tests: Fix patcher_test on Darwin (/bin/true issue) (thanks to Edward George)
131 * tests: Skip SSL tests when not available (thanks to Floris Bruynooghe)
132 * greenio: Remove deprecated GreenPipe.xreadlines() method, was broken anyway
133
134 0.9.17
135 ======
136 * ZeroMQ support calling send and recv from multiple greenthreads (thanks to Geoff Salmon)
137 * SSL: unwrap() sends data, and so it needs trampolining (#104 thanks to Brandon Rhodes)
138 * hubs.epolls: Fix imports for exception handler (#123 thanks to Johannes Erdfelt)
139 * db_pool: Fix .clear() when min_size > 0
140 * db_pool: Add MySQL's insert_id() method (thanks to Peter Scott)
141 * db_pool: Close connections after timeout, fix get-after-close race condition with using TpooledConnectionPool (thanks to Peter Scott)
142 * threading monkey patch fixes (#115 thanks to Johannes Erdfelt)
143 * pools: Better accounting of current_size in pools.Pool (#91 thanks to Brett Hoerner)
144 * wsgi: environ['RAW_PATH_INFO'] with request path as received from client (thanks to dweimer)
145 * wsgi: log_output flag (thanks to Juan Manuel Garcia)
146 * wsgi: Limit HTTP header size (thanks to Gregory Holt)
147 * wsgi: Configurable maximum URL length (thanks to Tomas Sedovic)
148
149 0.9.16
150 ======
151 * SO_REUSEADDR now correctly set.
152
153 0.9.15
154 ======
155 * ZeroMQ support without an explicit hub now implemented!  Thanks to Zed Shaw for the patch.
156 * zmq module supports the NOBLOCK flag, thanks to rfk. (#76)
157 * eventlet.wsgi has a debug flag which can be set to false to not send tracebacks to the client (per redbo's request)
158 * Recursive GreenPipe madness forestalled by Soren Hansen (#77)
159 * eventlet.green.ssl no longer busywaits on send()
160 * EEXIST ignored in epoll hub (#80)
161 * eventlet.listen's behavior on Windows improved, thanks to Nick Vatamaniuc (#83)
162 * Timeouts raised within tpool.execute are propagated back to the caller (thanks again to redbo for being the squeaky wheel)
163
164 0.9.14
165 ======
166 * Many fixes to the ZeroMQ hub, which now requires version 2.0.10 or later.  Thanks to Ben Ford.
167 * ZeroMQ hub no longer depends on pollhub, and thus works on Windows (thanks, Alexey Borzenkov)
168 * Better handling of connect errors on Windows, thanks again to Alexey Borzenkov.
169 * More-robust Event delivery, thanks to Malcolm Cleaton
170 * wsgi.py now distinguishes between an empty query string ("") and a non-existent query string (no entry in environ).
171 * wsgi.py handles ipv6 correctly (thanks, redbo)
172 * Better behavior in tpool when you give it nonsensical numbers, thanks to R. Tyler for the nonsense.  :)
173 * Fixed importing on 2.5 (#73, thanks to Ruijun Luo)
174 * Hub doesn't hold on to invalid fds (#74, thanks to Edward George)
175 * Documentation for eventlet.green.zmq, courtesy of Ben Ford
176
177 0.9.13
178 ======
179 * ZeroMQ hub, and eventlet.green.zmq make supersockets green.  Thanks to Ben Ford!
180 * eventlet.green.MySQLdb added.  It's an interface to MySQLdb that uses tpool to make it appear nonblocking
181 * 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.
182 * Eventlet now depends on greenlet 0.3 or later.
183 * Fixed a hang when using tpool during an import causes another import.  Thanks to mikepk for tracking that down.
184 * Improved websocket draft 76 compliance, thanks to Nick V.
185 * Rare greenthread.kill() bug fixed, which was probably brought about by a bugfix in greenlet 0.3.
186 * Easy_installing eventlet should no longer print an ImportError about greenlet
187 * Support for serving up SSL websockets, thanks to chwagssd for reporting #62
188 * eventlet.wsgi properly sets 'wsgi.url_scheme' environment variable to 'https', and 'HTTPS' to 'on' if serving over ssl
189 * Blocking detector uses setitimer on 2.6 or later, allowing for sub-second block detection, thanks to rtyler.
190 * Blocking detector is documented now, too
191 * socket.create_connection properly uses dnspython for nonblocking dns.  Thanks to rtyler.
192 * Removed EVENTLET_TPOOL_DNS, nobody liked that.  But if you were using it, install dnspython instead.  Thanks to pigmej and gholt.
193 * Removed _main_wrapper from greenthread, thanks to Ambroff adding keyword arguments to switch() in 0.3!
194
195 0.9.12
196 ======
197 * Eventlet no longer uses the Twisted hub if Twisted is imported -- you must call eventlet.hubs.use_hub('twistedr') if you want to use it.  This prevents strange race conditions for those who want to use both Twisted and Eventlet separately.
198 * Removed circular import in twistedr.py
199 * Added websocket multi-user chat example
200 * Not using exec() in green modules anymore.
201 * eventlet.green.socket now contains all attributes of the stdlib socket module, even those that were left out by bugs.
202 * Eventlet.wsgi doesn't call print anymore, instead uses the logfiles for everything (it used to print exceptions in one place).
203 * Eventlet.wsgi properly closes the connection when an error is raised
204 * Better documentation on eventlet.event.Event.send_exception
205 * Adding websocket.html to tarball so that you can run the examples without checking out the source
206
207 0.9.10
208 ======
209 * Greendns: if dnspython is installed, Eventlet will automatically use it to provide non-blocking DNS queries.  Set the environment variable 'EVENTLET_NO_GREENDNS' if you don't want greendns but have dnspython installed.
210 * Full test suite passes on Python 2.7.
211 * Tests no longer depend on simplejson for >2.6.
212 * Potential-bug fixes in patcher (thanks to Schmir, and thanks to Hudson)
213 * Websockets work with query strings (thanks to mcarter)
214 * WSGI posthooks that get called after the request completed (thanks to gholt, nice docs, too)
215 * Blocking detector merged -- use it to detect places where your code is not yielding to the hub for > 1 second.
216 * tpool.Proxy can wrap callables
217 * Tweaked Timeout class to do something sensible when True is passed to the constructor
218
219 0.9.9
220 =====
221 * A fix for monkeypatching on systems with psycopg version 2.0.14.
222 * Improved support for chunked transfers in wsgi, plus a bunch of tests from schmir (ported from gevent by redbo)
223 * A fix for the twisted hub from Favo Yang
224
225 0.9.8
226 =====
227 * Support for psycopg2's asynchronous mode, from Daniele Varrazzo
228 * websocket module is now part of core Eventlet with 100% unit test coverage thanks to Ben Ford.  See its documentation at http://eventlet.net/doc/modules/websocket.html
229 * Added wrap_ssl convenience method, meaning that we truly no longer need api or util modules.
230 * Multiple-reader detection code protects against the common mistake of having multiple greenthreads read from the same socket at the same time, which can be overridden if you know what you're doing.
231 * Cleaner monkey_patch API: the "all" keyword is no longer necessary.
232 * Pool objects have a more convenient constructor -- no more need to subclass
233 * amajorek's reimplementation of GreenPipe
234 * Many bug fixes, major and minor.
235
236 0.9.7
237 =====
238 * GreenPipe is now a context manager (thanks, quad)
239 * tpool.Proxy supports iterators properly
240 * bug fixes in eventlet.green.os (thanks, Benoit)
241 * much code cleanup from Tavis
242 * a few more example apps
243 * multitudinous improvements in Py3k compatibility from amajorek
244
245
246 0.9.6
247 =====
248 * new EVENTLET_HUB environment variable allows you to select a hub without code
249 * improved GreenSocket and GreenPipe compatibility with stdlib
250 * bugfixes on GreenSocket and GreenPipe objects
251 * code coverage increased across the board
252 * Queue resizing
253 * internal DeprecationWarnings largely eliminated
254 * tpool is now reentrant (i.e., can call tpool.execute(tpool.execute(foo)))
255 * more reliable access to unpatched modules reduces some race conditions when monkeypatching
256 * completely threading-compatible corolocal implementation, plus tests and enthusiastic adoption
257 * tests stomp on each others' toes less
258 * performance improvements in timers, hubs, greenpool
259 * Greenlet-aware profile module courtesy of CCP
260 * support for select26 module's epoll
261 * better PEP-8 compliance and import cleanup
262 * new eventlet.serve convenience function for easy TCP servers
263
264
265 0.9.5
266 =====
267 * support psycopg in db_pool
268 * smart patcher that does the right patching when importing without needing to understand plumbing of patched module
269 * patcher.monkey_patch() method replacing util.wrap_*
270 * monkeypatch threading support
271 * removed api.named
272 * imported timeout module from gevent, replace exc_after and with_timeout()
273 * replace call_after with spawn_after; this is so that users don't see the Timer class
274 * added cancel() method to GreenThread to support the semantic of "abort if not already in the middle of something"
275 * eventlet.green.os with patched read() and write(), etc
276 * moved stuff from wrap_pipes_with_coroutine_pipe into green.os
277 * eventlet.green.subprocess instead of eventlet.processes
278 * improve patching docs, explaining more about patcher and why you'd use eventlet.green
279 * better documentation on greenpiles
280 * deprecate api.py completely
281 * deprecate util.py completely
282 * deprecate saranwrap
283 * performance improvements in the hubs
284 * much better documentation overall
285 * new convenience functions: eventlet.connect and eventlet.listen.  Thanks, Sergey!
286
287
288 0.9.4
289 =====
290 * Deprecated coros.Queue and coros.Channel (use queue.Queue instead)
291 * Added putting and getting methods to queue.Queue.
292 * Added eventlet.green.Queue which is a greened clone of stdlib Queue, along with stdlib tests.
293 * Changed __init__.py so that the version number is readable even if greenlet's not installed.
294 * Bugfixes in wsgi, greenpool
295
296 0.9.3
297 =====
298
299 * Moved primary api module to __init__ from api.  It shouldn't be necessary to import eventlet.api anymore; import eventlet should do the same job.
300 * Proc module deprecated in favor of greenthread
301 * New module greenthread, with new class GreenThread.
302 * New GreenPool class that replaces pool.Pool.
303 * Deprecated proc module (use greenthread module instead)
304 * tpooled gethostbyname is configurable via environment variable EVENTLET_TPOOL_GETHOSTBYNAME
305 * Removed greenio.Green_fileobject and refactored the code therein to be more efficient.  Only call makefile() on sockets now; makeGreenFile() is deprecated.  The main loss here is that of the readuntil method.  Also, Green_fileobjects used to be auto-flushing; flush() must be called explicitly now.
306 * Added epoll support
307 * Improved documentation across the board.
308 * New queue module, API-compatible with stdlib Queue
309 * New debug module, used for enabling verbosity within Eventlet that can help debug applications or Eventlet itself.
310 * Bugfixes in tpool, green.select, patcher
311 * Deprecated coros.execute (use eventlet.spawn instead)
312 * Deprecated coros.semaphore (use semaphore.Semaphore or semaphore.BoundedSemaphore instead)
313 * Moved coros.BoundedSemaphore to semaphore.BoundedSemaphore
314 * Moved coros.Semaphore to semaphore.Semaphore
315 * Moved coros.event to event.Event
316 * Deprecated api.tcp_listener, api.connect_tcp, api.ssl_listener
317 * Moved get_hub, use_hub, get_default_hub from eventlet.api to eventlet.hubs
318 * Renamed libevent hub to pyevent.
319 * Removed previously-deprecated features tcp_server, GreenSSL, erpc, and trap_errors.
320 * Removed saranwrap as an option for making db connections nonblocking in db_pool.
321
322 0.9.2
323 =====
324
325 * Bugfix for wsgi.py where it was improperly expecting the environ variable to be a constant when passed to the application.
326 * Tpool.py now passes its tests on Windows.
327 * Fixed minor performance issue in wsgi.
328
329 0.9.1
330 =====
331
332 * PyOpenSSL is no longer required for Python 2.6: use the eventlet.green.ssl module. 2.5 and 2.4 still require PyOpenSSL.
333 * Cleaned up the eventlet.green packages and their associated tests, this should result in fewer version-dependent bugs with these modules.
334 * PyOpenSSL is now fully wrapped in eventlet.green.OpenSSL; using it is therefore more consistent with using other green modules.
335 * Documentation on using SSL added.
336 * New green modules: ayncore, asynchat, SimpleHTTPServer, CGIHTTPServer, ftplib.
337 * Fuller thread/threading compatibility: patching threadlocal with corolocal so coroutines behave even more like threads.
338 * Improved Windows compatibility for tpool.py
339 * With-statement compatibility for pools.Pool objects.
340 * Refactored copyrights in the files, added LICENSE and AUTHORS files.
341 * Added support for logging x-forwarded-for header in wsgi.
342 * api.tcp_server is now deprecated, will be removed in a future release.
343 * Added instructions on how to generate coverage reports to the documentation.
344 * Renamed GreenFile to Green_fileobject, to better reflect its purpose.
345 * Deprecated erpc method in tpool.py
346 * Bug fixes in: wsgi.py, twistedr.py, poll.py, greenio.py, util.py, select.py, processes.py, selects.py
347
348 0.9.0
349 =====
350
351 * Full-duplex sockets (simultaneous readers and writers in the same process).
352 * Remove modules that distract from the core mission of making it straightforward to write event-driven networking apps:
353     httpd, httpc, channel, greenlib, httpdate, jsonhttp, logutil
354 * Removed test dependency on sqlite, using nose instead.
355 * Marked known-broken tests using nose's mechanism (most of these are not broken but are simply run in the incorrect context, such as threading-related tests that are incompatible with the libevent hub).
356 * Remove copied code from python standard libs (in tests).
357 * Added eventlet.patcher which can be used to import "greened" modules.
358
359 0.8.16
360 ======
361 * GreenSSLObject properly masks ZeroReturnErrors with an empty read; with unit test.
362 * Fixed 2.6 SSL compatibility issue.
363
364 0.8.15
365 ======
366
367 * GreenSSL object no longer converts ZeroReturnErrors into empty reads, because that is more compatible with the underlying SSLConnection object.
368 * Fixed issue caused by SIGCHLD handler in processes.py
369 * Stopped supporting string exceptions in saranwrap and fixed a few test failures.
370
371 0.8.14
372 ======
373 * Fixed some more Windows compatibility problems, resolving EVT-37 :
374 http://jira.secondlife.com/browse/EVT-37
375 * waiting() method on Pool class, which was lost when the Pool implementation
376 replaced CoroutinePool.
377
378 0.8.13
379 ======
380 * 2.6 SSL compatibility patch by Marcus Cavanaugh.
381 * Added greenlet and pyopenssl as dependencies in setup.py.
382
383 0.8.12
384 ======
385
386 * The ability to resize() pools of coroutines, which was lost when the
387 Pool implementation replaced CoroutinePool.
388 * Fixed Cesar's issue with SSL connections, and furthermore did a
389 complete overhaul of SSL handling in eventlet so that it's much closer
390 to the behavior of the built-in libraries.  In particular, users of
391 GreenSSL sockets must now call shutdown() before close(), exactly
392 like SSL.Connection objects.
393 * A small patch that makes Eventlet work on Windows.  This is the first
394 release of Eventlet that works on Windows.
395
396 0.8.11
397 ======
398
399 Eventlet can now run on top of twisted reactor. Twisted-based hub is enabled automatically if
400 twisted.internet.reactor is imported. It is also possible to "embed" eventlet into a twisted
401 application via eventlet.twistedutil.join_reactor. See the examples for details.
402
403 A new package, eventlet.twistedutil, is added that makes integration of twisted and eventlet
404 easier. It has block_on function that allows to wait for a Deferred to fire and it wraps
405 twisted's Protocol in a synchronous interface. This is similar to and is inspired by Christopher
406 Armstrong's corotwine library. Thanks to Dan Pascu for reviewing the package.
407
408 Another new package, eventlet.green, was added to provide some of the standard modules
409 that are fixed not to block other greenlets. This is an alternative to monkey-patching
410 the socket, which is impossible to do if you are running twisted reactor.
411 The package includes socket, httplib, urllib2.
412
413 Much of the core functionality has been refactored and cleaned up, including the removal
414 of eventlet.greenlib. This means that it is now possible to use plain greenlets without
415 modification in eventlet, and the subclasses of greenlet instead of the old
416 eventlet.greenlib.GreenletContext. Calling eventlet.api.get_hub().switch() now checks to
417 see whether the current greenlet has a "switch_out" method and calls it if so, providing the
418 same functionality that the GreenletContext.swap_out used to. The swap_in behavior can be
419 duplicated by overriding the switch method, and the finalize functionality can be duplicated
420 by having a try: finally: block around the greenlet's main implementation. The eventlet.backdoor
421 module has been ported to this new scheme, although it's signature had to change slightly so
422 existing code that used the backdoor will have to be modified.
423
424 A number of bugs related to improper scheduling of switch calls has been fixed.
425 The fixed functions and classes include api.trampoline, api.sleep, coros.event,
426 coros.semaphore, coros.queue.
427
428 Many methods of greenio.GreenSocket were fixed to make its behavior more like that of a regular
429 socket. Thanks to Marcin Bachry for fixing GreenSocket.dup to preserve the timeout.
430
431 Added proc module which provides an easy way to subscribe to coroutine's results. This makes
432 it easy to wait for a single greenlet or for a set of greenlets to complete.
433
434 wsgi.py now supports chunked transfer requests (patch by Mike Barton)
435
436 The following modules were deprecated or removed because they were broken:
437 hubs.nginx, hubs.libev, support.pycurls, support.twisteds, cancel method of coros.event class
438
439 The following classes are still present but will be removed in the future version:
440 - channel.channel (use coros.Channel)
441 - coros.CoroutinePool (use pool.Pool)
442
443 saranwrap.py now correctly closes the child process when the referring object is deleted,
444 received some fixes to its detection of child process death, now correctly deals with the in
445 keyword, and it is now possible to use coroutines in a non-blocking fashion in the child process.
446
447 Time-based expiry added to db_pool.  This adds the ability to expire connections both by idleness
448 and also by total time open.  There is also a connection timeout option.
449
450 A small bug in httpd's error method was fixed.
451
452 Python 2.3 is no longer supported.
453
454 A number of tests was added along with a script to run all of them for all the configurations.
455 The script generates an html page with the results.
456
457 Thanks to Brian Brunswick for investigation of popen4 badness (eventlet.process)
458 Thanks to Marcus Cavanaugh for pointing out some coros.queue(0) bugs.
459
460 The twisted integration as well as many other improvements were funded by AG Projects (http://ag-projects.com), thanks!
461
462 0.8.x
463 =====
464
465 Fix a CPU leak that would cause the poll hub to consume 100% CPU in certain conditions, for example the echoserver example. (Donovan Preston)
466
467 Fix the libev hub to match libev's callback signature. (Patch by grugq)
468
469 Add a backlog argument to api.tcp_listener (Patch by grugq)
470
471 0.7.x
472 =====
473
474 Fix a major memory leak when using the libevent or libev hubs. Timers were not being removed from the hub after they fired. (Thanks Agusto Becciu and the grugq). Also, make it possible to call wrap_socket_with_coroutine_socket without using the threadpool to make dns operations non-blocking (Thanks the grugq).
475
476 It's now possible to use eventlet's SSL client to talk to eventlet's SSL server. (Thanks to Ryan Williams)
477
478 Fixed a major CPU leak when using select hub. When adding a descriptor to the hub, entries were made in all three dictionaries, readers, writers, and exc, even if the callback is None. Thus every fd would be passed into all three lists when calling select regardless of whether there was a callback for that event or not. When reading the next request out of a keepalive socket, the socket would come back as ready for writing, the hub would notice the callback is None and ignore it, and then loop as fast as possible consuming CPU.
479
480 0.6.x
481 =====
482
483 Fixes some long-standing bugs where sometimes failures in accept() or connect() would cause the coroutine that was waiting to be double-resumed, most often resulting in SwitchingToDeadGreenlet exceptions as well as weird tuple-unpacking exceptions in the CoroutinePool main loop.
484
485 0.6.1: Added eventlet.tpool.killall. Blocks until all of the threadpool threads have been told to exit and join()ed. Meant to be used to clean up the threadpool on exit or if calling execv. Used by Spawning.
486
487 0.5.x
488 =====
489
490 "The Pycon 2008 Refactor": The first release which incorporates libevent support. Also comes with significant refactoring and code cleanup, especially to the eventlet.wsgi http server. Docstring coverage is much higher and there is new extensive documentation: http://wiki.secondlife.com/wiki/Eventlet/Documentation
491
492 The point releases of 0.5.x fixed some bugs in the wsgi server, most notably handling of Transfer-Encoding: chunked; previously, it would happily send chunked encoding to clients which asked for HTTP/1.0, which isn't legal.
493
494 0.2
495 =====
496
497 Initial re-release of forked linden branch.