- Python Home
- About
- News
- Documentation
- Downloads
- Community
- Foundation
- Developer's Guide
- Issue Tracker
- Issues
- Summaries
- User
- Administration
- Help
➜
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 | Yury.Selivanov, brett.cannon, georg.brandl, larry, serhiy.storchaka, vajrasky, zach.ware |
| Date | 2014-01-22.06:37:58 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1390372678.69.0.48744596011.issue20341@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
|---|
>>> itertools.repeat.__doc__
'repeat(object, times=None)\nReturns an iterator which returns the object the specified number of times.\n\nIf times is None, returns the object endlessly.'
>>> itertools.repeat('a', times=None)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: __new__() argument 2 must be (unspecified), not None
Also, maybe it's a good idea to add case for None and negative times in itertools.repeat unit test. You can get inspiration from http://bugs.python.org/issue19145 |
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2014-01-22 06:37:58 | vajrasky | set | recipients: + vajrasky, brett.cannon, georg.brandl, larry, Yury.Selivanov, zach.ware, serhiy.storchaka |
| 2014-01-22 06:37:58 | vajrasky | set | messageid: <1390372678.69.0.48744596011.issue20341@psf.upfronthosting.co.za> |
| 2014-01-22 06:37:58 | vajrasky | link | issue20341 messages |
| 2014-01-22 06:37:58 | vajrasky | create |
Powered by Roundup Copyright © 1990-2022, Python Software Foundation
Legal Statements
