Antoine Pitrou <pit...@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue10282>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to