Issue2520
Created on 2016-09-06.21:30:13 by zyasoft, last changed 2018-03-24.07:42:01 by jeff.allen.
msg10943 (view) |
Author: Jim Baker (zyasoft) |
Date: 2016-09-06.21:30:13 |
|
See related http://bugs.python.org/issue8498, which was fixed in 2010.
This impacts the tests used by the latest version of requests. The relevant code in tests/testserver/server.py in the Server class:
def _create_socket_and_bind(self):
sock = socket.socket()
sock.bind((self.host, self.port))
sock.listen(0)
return sock
I believe this only impacts test usage - you really only want your server to just accept just *one* connection?!! - so it's an unfortunate annoyance that shouldn't slip 2.7.1. The requests package itself seems to continue to work fine, at least as use by pip.
|
|
Date |
User |
Action |
Args |
2018-03-24 07:42:01 | jeff.allen | set | milestone: Jython 2.7.2 -> |
2017-06-23 16:54:39 | zyasoft | set | priority: normal |
2016-09-19 04:33:37 | zyasoft | set | title: Jython does support socket.listen(0) for accepting only one connection -> Jython does NOT support socket.listen(0) for accepting only one connection |
2016-09-06 21:30:13 | zyasoft | create | |
|