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 BreamoreBoy
Recipients BreamoreBoy, ezio.melotti, larry, rhettinger, serhiy.storchaka, terry.reedy, vajrasky
Date 2014-01-25.15:39:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1390664357.76.0.203531465324.issue19145@psf.upfronthosting.co.za>
In-reply-to
Content
From a user perspective the docs say this "itertools.repeat(object[, times]) - Make an iterator that returns object over and over again. Runs indefinitely unless the times argument is specified."  So to me the use of "Times=None" in the "equivalent to" section is simply a red herring, as the user often won't bother reading this and certainly won't see it from interactive help.  As for negative times values I'd say leave it as is, although it someone was to suggest deprecating this behaviour and raising a ValueError instead I'd have no objections.
History
Date User Action Args
2014-01-25 15:39:17BreamoreBoysetrecipients: + BreamoreBoy, rhettinger, terry.reedy, larry, ezio.melotti, serhiy.storchaka, vajrasky
2014-01-25 15:39:17BreamoreBoysetmessageid: <1390664357.76.0.203531465324.issue19145@psf.upfronthosting.co.za>
2014-01-25 15:39:17BreamoreBoylinkissue19145 messages
2014-01-25 15:39:17BreamoreBoycreate