[issue12378] smtplib.SMTP_SSL leaks socket connections on SSL error

2014-06-23 Thread brian morrow

brian morrow added the comment:

Not sure if this is still relevant, but I've supplied a python2.7 patch for 
this issue. All regression tests still pass and the underlying socket 
connection is closed:

bmorrow@xorange:~/cpython$ ./python -m smtpd -n -c DebuggingServer 
localhost:2525

>>> import smtplib
>>> s = smtplib.SMTP_SSL("localhost", 2525)
[...]
ssl.SSLError: [Errno 1] _ssl.c:510: error:140770FC:SSL 
routines:SSL23_GET_SERVER_HELLO:unknown protocol

bmorrow@xorange:~/cpython$ ps -ef | grep "./python"
bmorrow  19052 19742  0 19:08 pts/17   00:00:00 ./python

bmorrow@xorange:~/cpython$ lsof -P -p 19052 | grep 2525
bmorrow@xorange:~/cpython$ 

bmorrow@xorange:~/cpython$ lsof -P -p 19742 | grep 2525
bmorrow@xorange:~/cpython$

--
keywords: +patch
nosy: +bhm
Added file: http://bugs.python.org/file35743/issue12378_py27.patch

___
Python tracker 
<http://bugs.python.org/issue12378>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20175] Derby #6: Convert 50 sites to Argument Clinic across 8 files

2014-01-09 Thread Brian Morrow

Changes by Brian Morrow :


--
nosy: +bmorrow92

___
Python tracker 
<http://bugs.python.org/issue20175>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue20175] Derby #6: Convert 50 sites to Argument Clinic across 8 files

2014-01-09 Thread Brian Morrow

Brian Morrow added the comment:

I'll gladly take this bundle.

--

___
Python tracker 
<http://bugs.python.org/issue20175>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com