[Python-checkins] python/nondist/peps pep-3000.txt,1.12,1.13

bcannon at users.sourceforge.net bcannon at users.sourceforge.net
Fri Mar 11 01:56:25 CET 2005


Update of /cvsroot/python/python/nondist/peps
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31197

Modified Files:
	pep-3000.txt 
Log Message:
Add references to Guido's "The fate of reduce() in Python 3000" blog entry for
the removal of 'map', 'filter', 'reduce', and 'lambda'.


Index: pep-3000.txt
===================================================================
RCS file: /cvsroot/python/python/nondist/peps/pep-3000.txt,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- pep-3000.txt	5 Mar 2005 19:38:42 -0000	1.12
+++ pep-3000.txt	11 Mar 2005 00:56:22 -0000	1.13
@@ -74,10 +74,10 @@
 
 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 @@
 * ``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 @@
    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
 =========



More information about the Python-checkins mailing list