[Python-ideas] Integrate some itertools into the Python syntax

Chris Angelico rosuav at gmail.com
Wed Mar 23 18:01:29 EDT 2016


On Thu, Mar 24, 2016 at 8:46 AM, Andrew Barnert <abarnert at yahoo.com> wrote:
> The advantage of having a small set of builtins is that you know the entire
> set of builtins.

Python 3.6 has len(dir(builtins))==150, which is hardly small. Even
removing the ones that don't begin with a lower-case letter (which
removes a small number of special names like __package__, and a large
number of exception classes) leaves 72. Can you name them all?

ChrisA


More information about the Python-ideas mailing list