[issue5949] IMAP4_SSL spin because of SSLSocket.suppress_ragged_eofs

Scott Dial report at bugs.python.org
Wed Dec 9 18:26:51 CET 2009


Scott Dial <scott at scottdial.com> added the comment:

I have attached a proper backport for the 2.6 maintenance branch. There
were some features (not bugfixes) of the trunk that the tests depended
on, which are not backported.

However, the tests still hang, because there are changes to
SocketServer.py that were not backported to 2.6. The changes are needed
to properly call close() on the underlying socket of the SecureTCPServer
and thus trigger the EOF. To avoid the backporting of bits in
SocketServer, I hacked the necessary bits into this version of the tests.

----------
Added file: http://bugs.python.org/file15510/test_imaplib_issue5949-py26.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5949>
_______________________________________


More information about the Python-bugs-list mailing list