Message10943

Author zyasoft
Recipients zyasoft
Date 2016-09-06.21:30:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1473197413.72.0.630569219928.issue2520@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2016-09-06 21:30:13zyasoftsetrecipients: + zyasoft
2016-09-06 21:30:13zyasoftsetmessageid: <1473197413.72.0.630569219928.issue2520@psf.upfronthosting.co.za>
2016-09-06 21:30:13zyasoftlinkissue2520 messages
2016-09-06 21:30:13zyasoftcreate