[Python-Dev] Re: PEP 279 revisited (original) (raw)
David Abrahams David Abrahams" <david.abrahams@rcn.com
Wed, 24 Apr 2002 11:13:45 -0500
- Previous message: [Python-Dev] Re: PEP 279 revisited
- Next message: [Python-Dev] Re: PEP 279 revisited
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
----- Original Message ----- From: "Alex Martelli" <aleax@aleax.it>
> The new type is a numerator but that is a mouthful so the built-in function > should be named numer(), just like iter() is short for iterator. If people
Nice. I doubt it will fly, but among the alternatives mentioned so far it gets my vote.
Blick. Abbrevs suck. Plus I don't want to re-use the sucky name enum for something related to what 'C' and C++ use it for.
+1 for itemize +0.8 for enumerate (in other contexts/languages/systems it just returns the items in sequence like a python iterator does). OK, so round it up to 1 if fractions are illegal.
-Dave
- Previous message: [Python-Dev] Re: PEP 279 revisited
- Next message: [Python-Dev] Re: PEP 279 revisited
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]