[Python-ideas] Suggested MapView object (Re: __len__() for map())

Chris Barker chris.barker at noaa.gov
Tue Dec 11 18:46:20 EST 2018

On Tue, Dec 11, 2018 at 11:10 AM Terry Reedy <tjreedy at udel.edu> wrote:

> > I _think_ someone may be advocating that map() could return an
> > iterable if it is passed a iterable,
> I believe you mean 'iterator' rather than 'iterable' here and below as a
> sequence is an iterable.

well, the iterator / iterable distinction is important in this thread in
many places, so I should have been more careful about that -- but not for
this reason. Yes, a a sequence is an iterable, but what I meant was an



Christopher Barker, Ph.D.

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

Chris.Barker at noaa.gov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20181211/93cd106b/attachment.html>

More information about the Python-ideas mailing list