[Python-Dev] \code or \constant in tex markup

2007-05-08 Thread Neal Norwitz
Which is correct? $ egrep '(False|True)' Doc/lib/*.tex | grep -c \\constant{ 74 $ egrep '(False|True)' Doc/lib/*.tex | grep -c \\code{ 204 $ egrep 'None' Doc/lib/*.tex | grep -c \\code{ 512 $ egrep 'None' Doc/lib/*.tex | grep -c \\constant{ 83 n ___ Pyt

Re: [Python-Dev] best practices stdlib: purging xrange

2007-05-08 Thread Martin v. Löwis
> Just curious why 2to3 would not replace range() with list(range())? In most usages of range(), using the 3.0 range() will work just as well, and be more efficient. If I wanted to write code that works in both versions (which I understand is not the 2to3 objective), then I would use range(). If

Re: [Python-Dev] svn logs

2007-05-08 Thread Neal Norwitz
Part of the problem might be that we are using an old version of svn (1.1) AFAIK. IIRC these operations were sped up in later versions. n -- On 5/8/07, Kristján Valur Jónsson <[EMAIL PROTECTED]> wrote: > > > > > Hello there. > > Does anyone know why getting the SVN logs for a project is so excru

Re: [Python-Dev] svn logs

2007-05-08 Thread dustin
On Tue, May 08, 2007 at 03:33:22PM +, Kristj?n Valur J?nsson wrote: >Does anyone know why getting the SVN logs for a project is so >excruciatingly slow? > >Is this an inherent SVN problem or are the python.org servers simply >overloaded? I believe it's because there are multip

Re: [Python-Dev] Byte literals (was Re: [Python-checkins] Changing string constants to byte arrays ( r55119 - in python/branches/py3k-struni/Lib: codecs.py test/test_codecs.py ))

2007-05-08 Thread Steve Holden
Guido van Rossum wrote: > [+python-3000; replies please remove python-dev] > > On 5/5/07, Josiah Carlson <[EMAIL PROTECTED]> wrote: >> "Fred L. Drake, Jr." <[EMAIL PROTECTED]> wrote: >>> On Saturday 05 May 2007, Aahz wrote: >>> > I'm with MAL and Fred on making literals immutable -- that's safe a

[Python-Dev] svn logs

2007-05-08 Thread Kristján Valur Jónsson
Hello there. Does anyone know why getting the SVN logs for a project is so excruciatingly slow? Is this an inherent SVN problem or are the python.org servers simply overloaded? It takes something like 10 minutes for me to get the log messages window up for the root of a branch. Cheers, Kristján

Re: [Python-Dev] best practices stdlib: purging xrange

2007-05-08 Thread James Y Knight
On May 8, 2007, at 8:49 AM, Armin Rigo wrote: > On Tue, May 08, 2007 at 09:14:02AM +1000, Anthony Baxter wrote: >> I'd like to suggest that we remove all (or nearly all) uses of >> xrange from the stdlib. A quick scan shows that most of the usage >> of it is unnecessary. With it going away in 3.0,

Re: [Python-Dev] best practices stdlib: purging xrange

2007-05-08 Thread Guido van Rossum
On 5/8/07, Armin Rigo <[EMAIL PROTECTED]> wrote: > On Tue, May 08, 2007 at 09:14:02AM +1000, Anthony Baxter wrote: > > I'd like to suggest that we remove all (or nearly all) uses of > > xrange from the stdlib. A quick scan shows that most of the usage > > of it is unnecessary. With it going away in

Re: [Python-Dev] best practices stdlib: purging xrange

2007-05-08 Thread Armin Rigo
Hi Anthony, On Tue, May 08, 2007 at 09:14:02AM +1000, Anthony Baxter wrote: > I'd like to suggest that we remove all (or nearly all) uses of > xrange from the stdlib. A quick scan shows that most of the usage > of it is unnecessary. With it going away in 3.0, and it being > informally deprecate

Re: [Python-Dev] PEP 30XZ: Simplified Parsing

2007-05-08 Thread Nick Coghlan
Mark Hammond wrote: > Please add my -1 to the chorus here, for the same reasons already expressed. Another -1 here - while I agree there are benefits to removing backslash continuations and string literal concatenation, I don't think they're significant enough to justify the hassle of making it