Re: [Python-Dev] xrange vs. int.__getslice__

2006-06-13 Thread Vladimir 'Yu' Stepanov
Thomas Wouters wrote: > http://www.python.org/dev/peps/pep-0204/ > > (If you must really discuss this, which would probably be futile and > senseless, please do it on python-3000 only.) Certainly looks very similar. PEP-204 demands change in a parser and considers a new design as replacement to r

Re: [Python-Dev] xrange vs. int.__getslice__

2006-06-13 Thread Thomas Wouters
On 6/13/06, Vladimir 'Yu' Stepanov <[EMAIL PROTECTED]> wrote: You were bothered yet with function xrange ? :) I suggest to replace it.http://www.python.org/dev/peps/pep-0204/ (If you must really discuss this, which would probably be futile and senseless, please do it on python-3000 only.) -- Thomas

[Python-Dev] xrange vs. int.__getslice__

2006-06-13 Thread Vladimir 'Yu' Stepanov
You were bothered yet with function xrange ? :) I suggest to replace it. - for i in xrange(100): pass vs. for i in int[:100]: pass - - for i