Message180237
It's hard to evaluate how popular given recipes, but:
* drop is opposite to take, so it's as popular as take
* the same situation with splitat, splitby - it's one case of partition that's hard to write each time with enumerator (partition is already in documentation)
* takelast, droplast was added cause itertools.islice doesn't support negative indices (which is ok). both functions have not obvious implementation - I'm sure that recipes will be good example for users how to work with iterators even if concrete functions aren't so widely-spreaded |
|
Date |
User |
Action |
Args |
2013-01-19 09:31:10 | kachayev | set | recipients:
+ kachayev, rhettinger, ezio.melotti, asvetlov, docs@python, serhiy.storchaka |
2013-01-19 09:31:10 | kachayev | set | messageid: <1358587870.25.0.701910334724.issue16774@psf.upfronthosting.co.za> |
2013-01-19 09:31:10 | kachayev | link | issue16774 messages |
2013-01-19 09:31:09 | kachayev | create | |
|