Antoine Pitrou <pit...@free.fr> added the comment:

It was corrected between 2.6.5 and 2.6.6 (see r79291 and also potentially 
r80453).

Here, on the 2.6 maintenance branch:

>>> import socket, time, ssl
>>> s = ssl.wrap_socket(socket.socket())
>>> s.connect(('linuxfr.org', 443))
>>> s.setblocking(False)
>>> s.recv(1024)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/antoine/cpython/27/Lib/ssl.py", line 219, in recv
    return self.read(buflen)
  File "/home/antoine/cpython/27/Lib/ssl.py", line 138, in read
    return self._sslobj.read(len)
ssl.SSLError: [Errno 2] _ssl.c:1348: The operation did not complete (read)

Can you check with 2.6.6 or the release26-maint SVN head?

----------
nosy: +pitrou
resolution:  -> out of date
status: open -> pending

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue9881>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to