gevent 1.1rc4 available

37 views
Skip to first unread message

Jason Madden

unread,
Feb 16, 2016, 9:30:51 AM2/16/16
to gevent: coroutine-based Python network library
Hello,

This is the fourth release candidate for what will soon become gevent 1.1. Compared to 1.1rc3, there are a small number of bug fixes, some found by user reports and some found by improved/updated standard library test coverage (specifically for sockets and SSL). Thank you to everyone that has been testing the rc series.

Currently, there is only one open issue listed for the 1.1 milestone (https://github.com/gevent/gevent/milestones/1.1). Contributions resolving that issue (even if it's just to say "I'm on a similar platform and haven't encountered it.") are welcome.

This release has been made possible by many contributors, hopefully most of whom are named below (apologies to anyone left out). 

Please try it out and report any issues you have (https://github.com/gevent/gevent/issues).


Changes

  • Python 2: Using the blocking API at import time when multiple greenlets are also importing should not lead to LoopExit. Reported in issue #728 by Garrett Heel.
  • Python 2: Don’t raise OverflowError when using the readline method of the WSGI input stream without a size hint or with a large size hint when the client is uploading a large amount of data. (This only impacted CPython 2; PyPy and Python 3 already handled this.) Reported in issue #289 by ggjjlldd, with contributions by Nathan Hoad.
  • Python 2: Under 2.7.9 and above (or when the PEP 466 SSL interfaces are available), perform the same hostname validation that the standard library does; previously some cases were ignored. Also, reading, writing, or handshaking a closed SSLSocket now raises the same ValueError the standard library does, instead of an AttributeError. Found by updating gevent’s copy of the standard library test cases. Initially reported in issue #735 by Dmitrij D. Czarkoff.
  • Python 3: Fix SSLSocket.unwrap and SNI callbacks. Also raise the correct exceptions for unconnected SSL sockets and properly validate SSL hostnames. Found by updating gevent's copy of the standard library test cases.
  • Python 3.5: Add support for socket.sendfile. Found by updating gevent's copy of the standard library test cases.
  • Python 3.4+: Add support for socket.get/set_inheritable. Found by updating gevent's copy of the standard library test cases.
  • BaseServer and its subclasses like WSGIServer avoid allocating a new closure for each request, reducing overhead.
Cheers,
Jason
Reply all
Reply to author
Forward
0 new messages