- PyPy: Fix a memory leak for code that allocated and disposed of many
:class:gevent.lock.Semaphore
subclasses. If monkey-patched, this could
also apply to :class:threading.Semaphore
objects. Reported in
:issue:660
by Jay Oster. - PyPy: Cython version 0.23.4 or later must be used to avoid a memory
leak (details
_). Thanks to Jay Oster. - Allow subclasses of :class:
~.WSGIHandler
to handle invalid HTTP client
requests. Reported by not-bob. - :class:
~.WSGIServer
more robustly supports :class:~logging.Logger
-like parameters for
log
anderror_log
(as introduced in 1.1b1, this could cause
integration issues with gunicorn). Reported in :issue:663
by Jay
Oster. - :class:
~gevent.threading._DummyThread
objects, created in a
monkey-patched system when :func:threading.current_thread
is
called in a new greenlet (which often happens implicitly, such as
when logging) are much lighter weight. For example, they no longer
allocate and then delete a :class:~gevent.lock.Semaphore
, which is
especially important for PyPy. - Request logging by :mod:
gevent.pywsgi
formats the status code
correctly on Python 3. Reported in :issue:664
by Kevin Chen. - Restore the ability to take a weak reference to instances of exactly
:class:gevent.lock.Semaphore
, which was unintentionally removed
as part of makingSemaphore
atomic on PyPy on 1.1b1. Reported in
:issue:666
by Ivan-Zhu. - Build Windows wheels for Python 3.5. Reported in :pr:
665
by Hexchain Tong.