Antoine Pitrou <pit...@free.fr> added the comment: Actually, this can be reproduced by running test_smtpd before test_ssl:
$ ./python -m test.regrtest -v -uall test_smtpd test_ssl It then freezes at that point: [...] test_asyncore_server (test.test_ssl.ThreadedTests) Check the example asyncore integration. ... server: new connection from 127.0.0.1:46707 client: sending b'FOO\n'... server: read b'FOO\n' from client client: read b'foo\n' client: closing connection. server: read b'over\n' from client client: connection closed. cleanup: stopping server. cleanup: joining server thread. server: closed connection <ssl.SSLSocket [closed] object, fd=-1, family=2, type=1, proto=0> server: read b'' from client If you press the return key, it unfreezes the test (does test_smtpd register file descriptor 0 (stdin) in asyncore?) and prints the following error: error: uncaptured python exception, closing channel <smtpd.SMTPChannel connected 'c' at 0x2c4c370> (<class 'IndexError'>:pop from empty list [/home/antoine/py3k/debug/Lib/asyncore.py|read|79] [/home/antoine/py3k/debug/Lib/asyncore.py|handle_read_event|435] [/home/antoine/py3k/debug/Lib/asynchat.py|handle_read|128] [/home/antoine/py3k/debug/Lib/asyncore.py|recv|375] [/home/antoine/py3k/debug/Lib/test/mock_socket.py|recv|47]) ---------- nosy: +richard _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue9619> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com