[issue22351] NNTP constructor exception leaves socket for garbage collector
Rishi
report at bugs.python.org
Sun Oct 5 12:52:57 CEST 2014
Rishi added the comment:
Here is my attempt to fix this issue. This is my first patch ever :).
IMO checking socket leaks in the constructor requires an actual server, so I create an actual localhost dummy server and test some error conditions that are encountered by the constructor.
----------
keywords: +patch
nosy: +rishi.maker.forum
Added file: http://bugs.python.org/file36811/issue22351.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22351>
_______________________________________
More information about the Python-bugs-list
mailing list