Message251327
I'm not sure that python needs a neater way to make an empty generator. It isn't a common use case and there isn't anything wrong with iter([]).
There are downsides to expanding an API. It creates yet another thing to learn and remember. Even now, few developers know about the two-argument form of iter(). |
|
Date |
User |
Action |
Args |
2015-09-22 15:35:59 | rhettinger | set | recipients:
+ rhettinger, jneb |
2015-09-22 15:35:59 | rhettinger | set | messageid: <1442936159.9.0.124298197156.issue25215@psf.upfronthosting.co.za> |
2015-09-22 15:35:59 | rhettinger | link | issue25215 messages |
2015-09-22 15:35:59 | rhettinger | create | |
|