On Tue, Sep 14, 2010 at 8:40 PM, Antoine Pitrou <solip...@pitrou.net> wrote: > The current module is broken in py3k. I suppose it is still usable for > things like fetching group descriptions, but you can't e.g. read > articles: > http://bugs.python.org/issue7644 > > Also, http://bugs.python.org/issue9360 mentions that API changes were > discussed by Brett and the OP at EuroPython (I wasn't there): > > “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.” > > My changes build on the patch proposed on this issue and add further > enhancements.
Given the additional explanation, tidying up the API sounds like a reasonable way forward to me. Some notes either in the docs or on the wiki regarding how to port from the 2.x API to the 3.x API will be useful though. Cheers, Nick. -- Nick Coghlan | ncogh...@gmail.com | Brisbane, Australia _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com