Message199335
| Author |
serhiy.storchaka |
| Recipients |
ezio.melotti, rhettinger, serhiy.storchaka, vajrasky |
| Date |
2013年10月09日.19:30:33 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1381347033.24.0.407048513134.issue19145@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Raymond's patch looks even more cumbersome than previous code. And it doesn't work in some cases:
>>> it = itertools.cycle([-2, -1])
>>> class Index:
... def __index__(self): return next(it)
...
>>> itertools.repeat(42, times=Index())
repeat(42, -1) |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2013年10月09日 19:30:33 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, rhettinger, ezio.melotti, vajrasky |
| 2013年10月09日 19:30:33 | serhiy.storchaka | set | messageid: <1381347033.24.0.407048513134.issue19145@psf.upfronthosting.co.za> |
| 2013年10月09日 19:30:33 | serhiy.storchaka | link | issue19145 messages |
| 2013年10月09日 19:30:33 | serhiy.storchaka | create |
|