Commit Graph

4 Commits

Author SHA1 Message Date
Barry Warsaw 3bc6d31633 Added a few more open issues:
- what should "zip()" do (i.e. zip with no arguments).

- should zip() be included in the builtins?

- the padtuple proposal
2000-07-24 17:40:00 +00:00
Barry Warsaw f25a70097b In the examples section, show how zip() is reversible.
Patches to the reference implementation:

    __getitem__() raises IndexError immediately if no sequences were
    given.

    __len__() returns 0 if no sequences were given.

    __cmp__() new method

Added a little more explanation to raise-a-TypeError-for-zip(a)

Added `fold' as one of the alternative names proposed.
2000-07-19 04:19:54 +00:00
Barry Warsaw be3c33389e Latest update.
After consultation with Guido, zip() is chosen as the name of this
built-in.

In reference implementation added an __len__() method.

Added a `Rejected Elaborations' section to talk about suggestions from
the list that I've rejected (and the reasoning behind the rejection).

Also: rewrite of paragraph 1 under "Standard For-Loops" for clarity;
Spelling and grammar fixes; use a References section.
2000-07-17 18:49:21 +00:00
Barry Warsaw 41021a4bf9 Initial set of Python Enhancement Proposals 2000-07-13 06:33:08 +00:00