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 AlokSinghal, rhettinger, terry.reedy, thomasguest
Date 2014-04-16.19:45:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1397677538.11.0.155754120285.issue6305@psf.upfronthosting.co.za>
In-reply-to
Content
Yes, you should add a fastpath and a slow path.  Take a look at itertools.count() or builtins.enumerate() to see how to do it.

This is a bit tricky to switch between modes, so you will need a thorough set of test cases.
History
Date User Action Args
2014-04-16 19:45:38rhettingersetrecipients: + rhettinger, terry.reedy, thomasguest, AlokSinghal
2014-04-16 19:45:38rhettingersetmessageid: <1397677538.11.0.155754120285.issue6305@psf.upfronthosting.co.za>
2014-04-16 19:45:38rhettingerlinkissue6305 messages
2014-04-16 19:45:37rhettingercreate