Kristján Valur Jónsson krist...@ccpgames.com added the comment:
Note, this has been ported to py3k in http://svn.python.org/view?
view=revrev=68736
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4929
Kristján Valur Jónsson krist...@ccpgames.com added the comment:
Submitted as r68618
--
resolution: - accepted
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4929
___
Changes by Giampaolo Rodola' billiej...@users.sourceforge.net:
--
nosy: +giampaolo.rodola
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4929
___
Gabriel Genellina gagsl-...@yahoo.com.ar added the comment:
On Windows, if you exit a process abnormally (using e.g. os._exit() in
Python) while it still has open connections, the other side receives a
WSAECONNRESET (error 10054).
So, you could write a test case using a dumb server (running
New submission from Kristján Valur Jónsson krist...@ccpgames.com:
the SMPT.getreply() method doesn't check for socket.error when doing its
readline() call. We now check for connection reset and others that can
occur here and properly close. This is to comply with the documentation
that
STINNER Victor victor.stin...@haypocalc.com added the comment:
Your patch looks fine but it would be much better with a test in
Lib/test/test_smtp.py ;-)
--
nosy: +haypo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4929