Re: [Python-Dev] Rework nntlib?

2010-09-14 Thread geremy condra
On Tue, Sep 14, 2010 at 8:33 PM, Guido van Rossum wrote: > On Tue, Sep 14, 2010 at 8:06 PM, geremy condra wrote: >> I ran some statistics on the number of times modules out of the stdlib >> got imported a few months ago and came up with a reasonably >> comprehensive list of the least-used things

Re: [Python-Dev] Rework nntlib?

2010-09-14 Thread Guido van Rossum
On Tue, Sep 14, 2010 at 8:06 PM, geremy condra wrote: > I ran some statistics on the number of times modules out of the stdlib > got imported a few months ago and came up with a reasonably > comprehensive list of the least-used things in the stdlib. For the > record, since I wound up parsing impor

Re: [Python-Dev] Rework nntlib?

2010-09-14 Thread geremy condra
On Tue, Sep 14, 2010 at 8:07 PM, Steve Holden wrote: > On 9/14/2010 11:06 PM, geremy condra wrote: >> On Tue, Sep 14, 2010 at 2:22 PM, Steve Holden wrote: >>> On 9/14/2010 4:40 PM, Jon Ribbens wrote: On Tue, Sep 14, 2010 at 11:43:46AM -0500, s...@pobox.com wrote: > We got rid of gopherli

Re: [Python-Dev] Rework nntlib?

2010-09-14 Thread Steve Holden
On 9/14/2010 11:06 PM, geremy condra wrote: > On Tue, Sep 14, 2010 at 2:22 PM, Steve Holden wrote: >> On 9/14/2010 4:40 PM, Jon Ribbens wrote: >>> On Tue, Sep 14, 2010 at 11:43:46AM -0500, s...@pobox.com wrote: We got rid of gopherlib a few years ago (deprecated in 2.5, presumably gone i

Re: [Python-Dev] Rework nntlib?

2010-09-14 Thread geremy condra
On Tue, Sep 14, 2010 at 2:22 PM, Steve Holden wrote: > On 9/14/2010 4:40 PM, Jon Ribbens wrote: >> On Tue, Sep 14, 2010 at 11:43:46AM -0500, s...@pobox.com wrote: >>> We got rid of gopherlib a few years ago (deprecated in 2.5, presumably gone >>> in 2.6).  I suspect the NNTP protocol has a greatly

Re: [Python-Dev] Rework nntlib?

2010-09-14 Thread Steve Holden
On 9/14/2010 6:45 PM, R. David Murray wrote: > On Tue, 14 Sep 2010 16:34:33 +0530, Senthil Kumaran > wrote: >> On Tue, Sep 14, 2010 at 12:44:30PM +0200, Baptiste Carvello wrote: Antoine> Like the email package, nntplib in py3k is broken (because of Antoine> various bytes/str misma

Re: [Python-Dev] Rework nntlib?

2010-09-14 Thread R. David Murray
On Tue, 14 Sep 2010 16:34:33 +0530, Senthil Kumaran wrote: > On Tue, Sep 14, 2010 at 12:44:30PM +0200, Baptiste Carvello wrote: > > >Antoine> Like the email package, nntplib in py3k is broken (because of > > >Antoine> various bytes/str mismatches; I suppose the lack of a test > > >Anto

Re: [Python-Dev] Rework nntlib?

2010-09-14 Thread Jon Ribbens
On Tue, Sep 14, 2010 at 05:22:59PM -0400, Steve Holden wrote: > On 9/14/2010 4:40 PM, Jon Ribbens wrote: > > NNTP is *very* considerably less dead than gopher. > > That's an interesting metric. Would you like to list the extant > libraries implementing protocols that are *not* "*very* considerably

[Python-Dev] 2.6.6 is a release candidate?

2010-09-14 Thread Chris Withers
Hi All, http://www.python.org/download/releases/2.6.6/ ..includes the text: "This is a release candidate; we currently support these formats:" Is that text meant to be there? cheers, Chris -- Simplistix - Content Management, Batch Processing & Python Consulting - http://www.simpl

Re: [Python-Dev] Rework nntlib?

2010-09-14 Thread Steve Holden
On 9/14/2010 4:40 PM, Jon Ribbens wrote: > On Tue, Sep 14, 2010 at 11:43:46AM -0500, s...@pobox.com wrote: >> We got rid of gopherlib a few years ago (deprecated in 2.5, presumably gone >> in 2.6). I suspect the NNTP protocol has a greatly diminished user base as >> well, GMANE's presence notwiths

Re: [Python-Dev] Rework nntlib?

2010-09-14 Thread Jon Ribbens
On Tue, Sep 14, 2010 at 11:43:46AM -0500, s...@pobox.com wrote: > We got rid of gopherlib a few years ago (deprecated in 2.5, presumably gone > in 2.6). I suspect the NNTP protocol has a greatly diminished user base as > well, GMANE's presence notwithstanding. NNTP is *very* considerably less dea

Re: [Python-Dev] Rework nntlib?

2010-09-14 Thread skip
Steve> PS: I read c.l.py-dev using NNTP from Thunderbird. Why anyone Steve> bothers with these web interfaces is beyond me ... Thunderbird is just a special-purpose web browser. ;-) Steve> PPS: What makes you think the email package transition is complete? I didn't mean to suggest t

Re: [Python-Dev] Rework nntlib?

2010-09-14 Thread Brett Cannon
I'm +1 for Antoine to go ahead and do what he wants; the module is busted as-is and I trust him to make a good judgement call. But I wanted to specifically reply to Skip about removal. On Tue, Sep 14, 2010 at 09:43, wrote: > >    Baptiste> Reading this from GMANE ;-) > > I use GMANE too on occas

Re: [Python-Dev] Rework nntlib?

2010-09-14 Thread Barry Warsaw
On Sep 14, 2010, at 02:01 PM, Steve Holden wrote: >The fact that Mailman will need it would alone outweigh all those >considerations in my mind. /me makes the check out to Mr. Holden. >PS: I read c.l.py-dev using NNTP from Thunderbird. Why anyone bothers >with these web interfaces is beyond me .

Re: [Python-Dev] Rework nntlib?

2010-09-14 Thread Steve Holden
On 9/14/2010 12:43 PM, s...@pobox.com wrote: > > Baptiste> Reading this from GMANE ;-) > > I use GMANE too on occasion, but only via the web, as I suppose most people > do. I haven't actually used an NNTP-based app like xrn or gnus in probably > two decades. Do the GMANE folks publish HTTP

Re: [Python-Dev] Rework nntlib?

2010-09-14 Thread skip
Baptiste> Reading this from GMANE ;-) I use GMANE too on occasion, but only via the web, as I suppose most people do. I haven't actually used an NNTP-based app like xrn or gnus in probably two decades. Do the GMANE folks publish HTTP v. NNTP statistics for their service? I question if the

Re: [Python-Dev] Rework nntlib?

2010-09-14 Thread Antoine Pitrou
On Mon, 13 Sep 2010 18:58:31 -0400 Barry Warsaw wrote: > On Sep 14, 2010, at 11:28 AM, Michael Foord wrote: > > > On 14/09/2010 11:17, Antoine Pitrou wrote: > >> Hello, > >> > >> Like the email package, nntplib in py3k is broken (because of > >> various bytes/str mismatches; I suppose the lack o

Re: [Python-Dev] Rework nntlib?

2010-09-14 Thread Barry Warsaw
On Sep 14, 2010, at 11:28 AM, Michael Foord wrote: > On 14/09/2010 11:17, Antoine Pitrou wrote: >> Hello, >> >> Like the email package, nntplib in py3k is broken (because of >> various bytes/str mismatches; I suppose the lack of a test suite >> didn't help when porting). >> >> I would like to tak

Re: [Python-Dev] Rework nntlib?

2010-09-14 Thread Barry Warsaw
On Sep 14, 2010, at 07:47 AM, Steve Holden wrote: >How many of those uses are in Python 3? How many would break if ported >to Python 3? How many Python 3 applications in general are there now? It would certainly bum me out if nntplib were removed (rather than improved as Antoine is offering to

Re: [Python-Dev] Rework nntlib?

2010-09-14 Thread Barry Warsaw
On Sep 14, 2010, at 12:17 PM, Antoine Pitrou wrote: >Like the email package, nntplib in py3k is broken (because of >various bytes/str mismatches; I suppose the lack of a test suite didn't >help when porting). > >I would like to take the opportunity to improve the API a bit; no heavy >re-architecti

Re: [Python-Dev] Rework nntlib?

2010-09-14 Thread Steve Holden
On 9/14/2010 9:36 AM, Michael Foord wrote: > On 14/09/2010 12:47, Steve Holden wrote: >> On 9/14/2010 7:10 AM, Michael Foord wrote: >>> On 14/09/2010 12:04, Senthil Kumaran wrote: On Tue, Sep 14, 2010 at 12:44:30PM +0200, Baptiste Carvello wrote: >> Antoine> Like the email packag

Re: [Python-Dev] Rework nntlib?

2010-09-14 Thread Steve Holden
On 9/14/2010 9:36 AM, Michael Foord wrote: > On 14/09/2010 12:47, Steve Holden wrote: >> On 9/14/2010 7:10 AM, Michael Foord wrote: >>> On 14/09/2010 12:04, Senthil Kumaran wrote: On Tue, Sep 14, 2010 at 12:44:30PM +0200, Baptiste Carvello wrote: >> Antoine> Like the email packag

Re: [Python-Dev] Rework nntlib?

2010-09-14 Thread Michael Foord
On 14/09/2010 12:47, Steve Holden wrote: On 9/14/2010 7:10 AM, Michael Foord wrote: On 14/09/2010 12:04, Senthil Kumaran wrote: On Tue, Sep 14, 2010 at 12:44:30PM +0200, Baptiste Carvello wrote: Antoine> Like the email package, nntplib in py3k is broken (because of Antoine> va

Re: [Python-Dev] r84775 - peps/trunk/pep-3149.txt

2010-09-14 Thread Piotr Ożarowski
[Antoine Pitrou, 2010-09-13] > > > >I meant how these decisions are implemented. Is there a configure > > >switch (there doesn't seem to be)? Does it require patching Python? > > > > Ah, no. Standard configure switches are used. Debian (inherited by Ubuntu) > > has a post-installation script fo

Re: [Python-Dev] Rework nntlib?

2010-09-14 Thread Steve Holden
On 9/14/2010 7:10 AM, Michael Foord wrote: > On 14/09/2010 12:04, Senthil Kumaran wrote: >> On Tue, Sep 14, 2010 at 12:44:30PM +0200, Baptiste Carvello wrote: Antoine> Like the email package, nntplib in py3k is broken (because of Antoine> various bytes/str mismatches; I su

Re: [Python-Dev] Rework nntlib?

2010-09-14 Thread Senthil Kumaran
On Tue, Sep 14, 2010 at 12:10:54PM +0100, Michael Foord wrote: > But as we already have it then making it *work* is a different matter... :-) Of course, I buy this argument. :) I am +1 on improving the nntplib in py3k, but if we have real world users raising bug reports and asking particular chan

Re: [Python-Dev] Rework nntlib?

2010-09-14 Thread Michael Foord
On 14/09/2010 12:14, Nick Coghlan wrote: On Tue, Sep 14, 2010 at 9:04 PM, Senthil Kumaran wrote: I guess, Skip's question or intention was, how often nntplib as a module is being used these days to write scripts/tools or clients? Very rarely. It would definitely be interesting to know, if the

Re: [Python-Dev] Rework nntlib?

2010-09-14 Thread Nick Coghlan
On Tue, Sep 14, 2010 at 9:04 PM, Senthil Kumaran wrote: > I guess, Skip's question or intention was, how often nntplib as a > module is being used these days to write scripts/tools or clients? > Very rarely. > > It would definitely be interesting to know, if there are python > applications out the

Re: [Python-Dev] Rework nntlib?

2010-09-14 Thread Michael Foord
On 14/09/2010 12:04, Senthil Kumaran wrote: On Tue, Sep 14, 2010 at 12:44:30PM +0200, Baptiste Carvello wrote: Antoine> Like the email package, nntplib in py3k is broken (because of Antoine> various bytes/str mismatches; I suppose the lack of a test Antoine> suite didn't help whe

Re: [Python-Dev] Rework nntlib?

2010-09-14 Thread Senthil Kumaran
On Tue, Sep 14, 2010 at 12:44:30PM +0200, Baptiste Carvello wrote: > >Antoine> Like the email package, nntplib in py3k is broken (because of > >Antoine> various bytes/str mismatches; I suppose the lack of a test > >Antoine> suite didn't help when porting). > > > >How heavily used is nnt

Re: [Python-Dev] Rework nntlib?

2010-09-14 Thread Nick Coghlan
On Tue, Sep 14, 2010 at 8:40 PM, Antoine Pitrou 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

Re: [Python-Dev] Rework nntlib?

2010-09-14 Thread Antoine Pitrou
On Tue, 14 Sep 2010 05:31:16 -0500 s...@pobox.com wrote: > > Antoine> Like the email package, nntplib in py3k is broken (because of > Antoine> various bytes/str mismatches; I suppose the lack of a test > Antoine> suite didn't help when porting). > > How heavily used is nntp these days

Re: [Python-Dev] Rework nntlib?

2010-09-14 Thread Baptiste Carvello
s...@pobox.com a écrit : Antoine> Like the email package, nntplib in py3k is broken (because of Antoine> various bytes/str mismatches; I suppose the lack of a test Antoine> suite didn't help when porting). How heavily used is nntp these days (unless you're looking for spam)? Would i

Re: [Python-Dev] Rework nntlib?

2010-09-14 Thread Antoine Pitrou
On Tue, 14 Sep 2010 20:30:14 +1000 Nick Coghlan wrote: > On Tue, Sep 14, 2010 at 8:17 PM, Antoine Pitrou wrote: > > > > Hello, > > > > Like the email package, nntplib in py3k is broken (because of > > various bytes/str mismatches; I suppose the lack of a test suite didn't > > help when porting).

Re: [Python-Dev] Rework nntlib?

2010-09-14 Thread skip
Antoine> Like the email package, nntplib in py3k is broken (because of Antoine> various bytes/str mismatches; I suppose the lack of a test Antoine> suite didn't help when porting). How heavily used is nntp these days (unless you're looking for spam)? Would it make more sense to find

Re: [Python-Dev] Rework nntlib?

2010-09-14 Thread Nick Coghlan
On Tue, Sep 14, 2010 at 8:17 PM, Antoine Pitrou wrote: > > Hello, > > Like the email package, nntplib in py3k is broken (because of > various bytes/str mismatches; I suppose the lack of a test suite didn't > help when porting). > > I would like to take the opportunity to improve the API a bit; no

Re: [Python-Dev] Rework nntlib?

2010-09-14 Thread Michael Foord
On 14/09/2010 11:17, Antoine Pitrou wrote: Hello, Like the email package, nntplib in py3k is broken (because of various bytes/str mismatches; I suppose the lack of a test suite didn't help when porting). I would like to take the opportunity to improve the API a bit; no heavy re-architecting, b

[Python-Dev] Rework nntlib?

2010-09-14 Thread Antoine Pitrou
Hello, Like the email package, nntplib in py3k is broken (because of various bytes/str mismatches; I suppose the lack of a test suite didn't help when porting). I would like to take the opportunity to improve the API a bit; no heavy re-architecting, but simply a bunch of changes to make it highe