Commit Graph

7 Commits

Author SHA1 Message Date
Barry Warsaw c8fc9eb3fb Fixed reference [1] to point to the current documentation, not the
devel copy (thanks to Fred Drake, Dr. Docs!)
2000-07-26 04:22:03 +00:00
Barry Warsaw e6b5c62573 Added Paul's latest crop of names to the list of proposed alternatives
in Open Issues.
2000-07-25 22:00:05 +00:00
Barry Warsaw 516a1a8b52 In a compromise with JHy, and to be more consistent with the style now
documented in PEP1, remove the Emacs page breaks.

Also, Owner: -> Author:, added Created: and Post-History: headers

Changed "Standard For-Loops" section to "Motivation" and shortened
considerably; readers already know how for-loops work in Python.

Added notes about Guido's veto of lazy evaluation.
2000-07-25 21:51:55 +00:00
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