[Python-ideas] sequence.apply(function)

Yuval Greenfield ubershmekel at gmail.com
Sat Sep 1 23:55:39 CEST 2012

On Sat, Sep 1, 2012 at 8:06 PM, Guido van Rossum <guido at python.org> wrote:

> It's less Pythonic, because every sequence-like type (not just list)
> would have to reimplement it.
> Similar things get proposed for iterators (e.g. it1 + it2, it[:n],
> it[n:]) regularly and they are (and should be) rejected for the same
> reason.
Python causes some confusion because some things are methods and others
builtins. Is there a PEP or rationale that defines what goes where?

Yuval Greenfield
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20120902/30c4122e/attachment.html>

More information about the Python-ideas mailing list