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 Dmitry.Jemerov, pitrou, r.david.murray
Date 2010-09-13.19:27:19
SpamBayes Score 5.5899188e-09
Marked as misclassified No
Message-id <1284406046.67.0.642161343145.issue9360@psf.upfronthosting.co.za>
In-reply-to
Content
Here is an updated patch, but it's a work in progress.

Since we are breaking compatibility anyway, I think a larger cleanup is deserved. For example:
- remove old exception aliases
- make return types consistent (for example, newgroups() should returned structured data as list() does)
- use datetime.datetime objects instead of consuming and producing dates and times as 6-character strings

Additional useful features could be added:

- automatic querying of CAPABILITIES on connection
- a higher-level over() method able to parse the response as a list of header dicts (using LIST OVERVIEW.FMT), with appropriately decoded values (thanks email.header.decode_header())
- ...

Also, we should add an internal mock NNTP server to easily test features. Relying on gmane is nice for simple basic tests, but not much more.

Does it sound reasonable?
History
Date User Action Args
2010-09-13 19:27:26pitrousetrecipients: + pitrou, r.david.murray, Dmitry.Jemerov
2010-09-13 19:27:26pitrousetmessageid: <1284406046.67.0.642161343145.issue9360@psf.upfronthosting.co.za>
2010-09-13 19:27:24pitroulinkissue9360 messages
2010-09-13 19:27:23pitroucreate