This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients jelie, pitrou
Date 2010-11-03.18:26:18
SpamBayes Score 6.492578e-06
Marked as misclassified No
Message-id <1288808780.32.0.237935041277.issue10282@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2010-11-03 18:26:20pitrousetrecipients: + pitrou, jelie
2010-11-03 18:26:20pitrousetmessageid: <1288808780.32.0.237935041277.issue10282@psf.upfronthosting.co.za>
2010-11-03 18:26:18pitroulinkissue10282 messages
2010-11-03 18:26:18pitroucreate