Message 209057 - Python tracker

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.

Content
Here is the updated patch. I try to be conservative here, preserving the current behaviour.

Negative times is same as zero.
Default value (which can be passed by omitting times) means unlimited.

I did not change the signature "repeat(object [,times])" because the only suitable default value, in my opinion, is "repeat(object [,times=<unlimited>])" which is impossible at the moment.

Well, let see what Raymond has anything to say about this.