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 Dmitry.Jemerov
Recipients Dmitry.Jemerov
Date 2010-07-23.16:54:12
SpamBayes Score 0.0031806903
Marked as misclassified No
Message-id <1279904057.7.0.917806545674.issue9360@psf.upfronthosting.co.za>
In-reply-to
Content
The patch performs an extensive cleanup of nntplib:
 - Change API methods to return strings instead of bytes. This breaks API compatibility, but given that the parameters need to be passed as strings and many of the returned values would need to be passed to other API methods, I consider the current API to be broken. I've discussed this with Brett at the EuroPython sprint, and he agrees.
 - Add tests.
 - Add pending deprecation warnings for xgtitle() and xpath() methods, which are not useful in modern environments.
 - Use named tuples for returned values where appopriate.
 - Modernize the implementation a little bit.
 - Clean up the docstrings.
History
Date User Action Args
2010-07-23 16:54:18Dmitry.Jemerovsetrecipients: + Dmitry.Jemerov
2010-07-23 16:54:17Dmitry.Jemerovsetmessageid: <1279904057.7.0.917806545674.issue9360@psf.upfronthosting.co.za>
2010-07-23 16:54:15Dmitry.Jemerovlinkissue9360 messages
2010-07-23 16:54:15Dmitry.Jemerovcreate