Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Dunno, to promote generators? I'd say people often convert to list for no good reason, so adding friction might discourage that.

Then again, map() and friends are not exactly the recommended way, list comprehensions and generator expressions are usually preferred by the BDFL.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: