[issue10282] IMPLEMENTATION token differently delt with in NNTP capability
Antoine Pitrou
report at bugs.python.org
Wed Nov 3 19:26:20 CET 2010
Antoine Pitrou <pitrou at free.fr> added the comment:
Rather than special casing the dict item, I would rather add an "nntp_implementation" attribute containing the desired value.
> Besides, shouldn't it be checked that the line is not empty, before
> splitting it?
If the line is empty, the server is non-conformant. Then it's a matter of taste whether all errors should be wrapped in higher-level exceptions; I tend to think it's useless clutter.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10282>
_______________________________________
More information about the Python-bugs-list
mailing list