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 vajrasky
Recipients BreamoreBoy, belopolsky, ezio.melotti, larry, rhettinger, serhiy.storchaka, terry.reedy, vajrasky
Date 2014-01-27.07:37:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1390808229.0.0.709693336234.issue19145@psf.upfronthosting.co.za>
In-reply-to
Content
How to handle this "problem" in Python maintenance releases (2.7, 3.3 and soon-to-be 3.4) is being discussed here: https://mail.python.org/pipermail/python-dev/2014-January/132101.html

In case, we are taking "backporting the full fix" road, here is the patch. I modified Larry's patch based on Serhiy's suggestion and bettered the error message, added test, and fixed the doc.

"Better error message" -> without my fix, repeat('a', times='cutecat') will throw "an integer is required". I make it as such it will throw "times must be integer or None."
History
Date User Action Args
2014-01-27 07:37:09vajraskysetrecipients: + vajrasky, rhettinger, terry.reedy, belopolsky, larry, ezio.melotti, BreamoreBoy, serhiy.storchaka
2014-01-27 07:37:09vajraskysetmessageid: <1390808229.0.0.709693336234.issue19145@psf.upfronthosting.co.za>
2014-01-27 07:37:08vajraskylinkissue19145 messages
2014-01-27 07:37:08vajraskycreate