[Python-Dev] Weekly Python Patch/Bug Summary

2007-07-09 Thread Kurt B. Kaiser
Patch / Bug Summary ___ Patches : 392 open ( +7) / 3792 closed ( +2) / 4184 total ( +9) Bugs: 1042 open (+13) / 6757 closed (+13) / 7799 total (+26) RFE : 263 open ( +1) / 292 closed ( +1) / 555 total ( +2) New / Reopened Patches __ "%d" form

Re: [Python-Dev] itertools addition: getitem()

2007-07-09 Thread Walter Dörwald
Raymond Hettinger wrote: > From: "Guido van Rossum" <[EMAIL PROTECTED]> >> But doesn't the very same argument also apply against islice(), which >> you just offered as an alternative? > > Not really. The use cases for islice() typically do not involve > repeated slices of an iterator unless it i

Re: [Python-Dev] PEP 366 - Relative imports from main modules

2007-07-09 Thread Brett Cannon
On 7/9/07, Nick Coghlan <[EMAIL PROTECTED]> wrote: > Brett Cannon wrote: > > On 7/8/07, Nick Coghlan <[EMAIL PROTECTED]> wrote: > >> As with the current ``__name__`` attribute, setting ``__package__`` will > >> be the responsibility of the PEP 302 loader used to import a module. > >> Loaders which

Re: [Python-Dev] itertools addition: getitem()

2007-07-09 Thread Raymond Hettinger
From: "Guido van Rossum" <[EMAIL PROTECTED]> > But doesn't the very same argument also apply against islice(), which > you just offered as an alternative? Not really. The use cases for islice() typically do not involve repeated slices of an iterator unless it is slicing off the front few elements

Re: [Python-Dev] Summary of Tracker Issues

2007-07-09 Thread Paul Moore
On 08/07/07, Steve Holden <[EMAIL PROTECTED]> wrote: > This script appears to have been producing exactly the same output since > June 9. I can't believe it's useful information. It has one positive aspect for me - it's reassured me that the spate of spam which hit the new tracker a month or two a

Re: [Python-Dev] PEP 366 - Relative imports from main modules

2007-07-09 Thread Nick Coghlan
Brett Cannon wrote: > On 7/8/07, Nick Coghlan <[EMAIL PROTECTED]> wrote: >> As with the current ``__name__`` attribute, setting ``__package__`` will >> be the responsibility of the PEP 302 loader used to import a module. >> Loaders which use ``imp.new_module()`` to create the module object will >>

Re: [Python-Dev] itertools addition: getitem()

2007-07-09 Thread Walter Dörwald
Guido van Rossum wrote: > On 7/9/07, Raymond Hettinger <[EMAIL PROTECTED]> wrote: >> Also, as a practical matter, I think it is a bad idea to introduce >> __getitem__ style access to itertools because the starting point >> moves with each consecutive access: >> >> # access items 0, 2, 5, 9, 14,