gevent.subprocess
works under Python 3.5. In general, Python 3.5 has preliminary support. Reported in issue #653 by Squeaky.gevent.subprocess.Popen.communicate
honors a timeout
argument even if there is no way to communicate with the child process (none of stdin, stdout and stderr were set to PIPE
). Noticed as part of the Python 3.5 test suite for the new function subprocess.run
but impacts all versions (timeout
is an official argument under Python 3 and a gevent extension with slightly different semantics under Python 2).ValueError
from gevent.queue.Queue:peek
. Reported in issue #647 by Kevin Chen.gevent.signal
as a callable, which, depending on the order of imports, could be broken after the addition of the gevent.signal
module. Reported in issue #648 by Sylvain Zimmer.LoopExit
instead of completing the expected blocking operation. Note that performing gevent blocking operations in the top-level of a module is typically not recommended, but this situation can arise when monkey-patching existing scripts. Reported in issue #651 and issue #652 by Mike Kaplinskiy.SIGCHLD
and waitpid
now work for the pids returned by the (monkey-patched) os.forkpty
and pty.fork
functions in the same way they do for the os.fork
function. Reported in issue #650 by Erich Heine.gevent.pywsgi.WSGIServer
(WSGIHandler
) does a better job detecting and reporting potential encoding errors for headers and the status line during start_response
as recommended by the WSGI specification. In addition, under Python 2, unnecessary encodings and decodings (often a trip through the ASCII encoding) are avoided for conforming applications. This is an enhancement of an already documented and partially enforced constraint: beginning in 1.1a1, under Python 2, u'abc'
would typically previously have been allowed, but u'\u1f4a3'
would not; now, neither will be allowed, more closely matching the specification, improving debugability and performance and allowing for better error handling both by the application and by gevent (previously, certain encoding errors could result in gevent writing invalid/malformed HTTP responses). Reported by Greg Higgins and Carlos Sanchez.