> > I think we all agree that it does not belong in
> > __builtins__,
>
> Do we? I'm not convinced. We already have all() and any()
> in builtins, which are similar in that they operate on
> iterators or iterables.


Good point — I was assuming with all the hostility (OK, skepticism) to the
idea, that it was a non-starter. But maybe some of that skepticism is due
to the association with itertools.

If it was just me: I probably would put it in builtins. But not before
looking around to see how common a name “first” is in existing code.

-CHB


-- 
Christopher Barker, PhD

Python Language Consulting
  - Teaching
  - Scientific Software Development
  - Desktop GUI and Web Development
  - wxPython, numpy, scipy, Cython
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/R5I6GGDDGMQTNRFSGK7B6V64RYNYT4YY/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to