This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author rhettinger
Recipients rhettinger, scott.dial
Date 2008-05-12.07:00:00
SpamBayes Score 0.006477455
Marked as misclassified No
Message-id <1210575603.73.0.182803281213.issue2831@psf.upfronthosting.co.za>
In-reply-to
Content
FWIW, at one point, Guido rejected all variants of the idea.  His first 
objection was that enumerate() is all about pairing values with 
sequence indices, so starting from anything other than zero is in 
conflict with the core concept.  His second objection is that all 
variants can easily be misread as starting at the nth item in the 
sequence (much like islice() does now):   enumerate(3, 'abcdefg') --> 
(3,'d') (4,'e') (5, 'f') (6, 'g').  The latter mis-reading becomes more 
likely for those who think of enumerate as providing indices.  In fact, 
one of the suggested names for enumerate was "indices".
History
Date User Action Args
2008-05-12 07:00:04rhettingersetspambayes_score: 0.00647746 -> 0.006477455
recipients: + rhettinger, scott.dial
2008-05-12 07:00:03rhettingersetspambayes_score: 0.00647746 -> 0.00647746
messageid: <1210575603.73.0.182803281213.issue2831@psf.upfronthosting.co.za>
2008-05-12 07:00:02rhettingerlinkissue2831 messages
2008-05-12 07:00:01rhettingercreate