Add references to Guido's "The fate of reduce() in Python 3000" blog entry for

the removal of 'map', 'filter', 'reduce', and 'lambda'.
This commit is contained in:
Brett Cannon 2005-03-11 00:56:22 +00:00
parent 86be15282b
commit 72fcd5f394
1 changed files with 8 additions and 5 deletions

View File

@ -74,10 +74,10 @@ Core language
To be removed:
* The ``lambda`` statement [1]_
* String exceptions [2]_
* The ``lambda`` statement: use nested functions [1]_, [9]_
* String exceptions: use instances of an Exception class [2]_
* ```x```: use ``repr(x)`` [2]_
* The ``<>`` operator (use ``!=`` instead) [3]_
* The ``<>`` operator: use ``!=`` instead [3]_
* Unbound methods [7]_
@ -102,9 +102,9 @@ To be removed:
* ``execfile()``, ``reload()``: use ``exec()`` [2]_
* ``input()``: use ``eval(sys.stdin.readline())`` [2]_
* ``intern()``, ``id()``: put in ``sys`` [2]_
* ``map()``, ``filter()``: use list comprehensions instead [1]_
* ``map()``, ``filter()``: use list comprehensions instead [1]_, [9]_
* ``reduce()``: write a loop instead [2]_, [9]_
* ``raw_input()``: use ``sys.stdin.readline()`` [2]_
* ``reduce()``: write a loop instead [2]_
* ``xrange()``: use ``range()`` instead [1]_
@ -147,6 +147,9 @@ References
objects can be used")
http://mail.python.org/pipermail/python-dev/2005-February/051674.html
.. [9] Guido's blog ("The fate of reduce() in Python 3000")
http://www.artima.com/weblogs/viewpost.jsp?thread=98196
Copyright
=========