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

I think the motivation there historically was to encourage use of generators and generator expressions — it’s definitely intentional, because things like `apply` and `reduce` used to be builtins but now they’re imports.

If you reach for itertools imports often in an interactive REPL, you might be interested in Pyflyby: https://labs.quansight.org/blog/2021/07/pyflyby-improving-ef...



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

Search: