[issue16040] nntplib: unlimited readline() from connection
Jyrki Pulliainen
report at bugs.python.org
Mon Sep 30 23:43:48 CEST 2013
Jyrki Pulliainen added the comment:
Did a slight change to the patch, making the too long line to look like a valid line so that it does not raise a NNTPProtocolError otherwise. Thanks to Barry for catching this :)
I also wonder if there should be data error risen instead? Current docstrings of the errors are not that well fit.
----------
Added file: http://bugs.python.org/file31928/issue16040_py26_v2.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16040>
_______________________________________
More information about the Python-bugs-list
mailing list