A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2001-April/014486.html below:

[Python-Dev] Iterators, map, xreadlines and docs

[Python-Dev] Iterators, map, xreadlines and docsTim Peters tim.one@home.com
Sat, 28 Apr 2001 05:17:33 -0400
> ...
>> I think that's a bug in map().  Anyone disagree?

[Moshe]
> I agree...but when we talked about it in c.l.py, I said that and you
> said map() should be deprecated. Why the sudden change of heart?

This doesn't ring a bell.  I don't even recall *seeing* a msg from you in the
.xreadlines() vs map() thread ...

> why shouldn't it be changed to
>
> [whatever(x) for x in file.xreadlines()]?

I'm not keen to eradicate map() from the face of the Earth regardless, and
until it *is* deprecated (if ever), it's supported.  But this is all moot
since I already checked in the map() fix.

How to deal with the iterator docs is still an important issue.




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4