Message94939
| Author | belopolsky |
|---|---|
| Recipients | belopolsky, benjamin.peterson, rhettinger, wrichert |
| Date | 2009-11-05.18:57:33 |
| SpamBayes Score | 4.0192528e-05 |
| Marked as misclassified | No |
| Message-id | <1257447455.52.0.29105584299.issue7212@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
I don't want to pollute python-dev with more hopeless ideas, but I wonder if itertools could grow an efficient C-implemented def first(collection): return next(iter(collection)) On the other hand, it probably belongs to recipes more than stdlib. This is not really an iterator tool after all. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2009-11-05 18:57:35 | belopolsky | set | recipients: + belopolsky, rhettinger, benjamin.peterson, wrichert |
| 2009-11-05 18:57:35 | belopolsky | set | messageid: <1257447455.52.0.29105584299.issue7212@psf.upfronthosting.co.za> |
| 2009-11-05 18:57:34 | belopolsky | link | issue7212 messages |
| 2009-11-05 18:57:33 | belopolsky | create | |