[Python-checkins] r59439 - peps/trunk/pep-3100.txt

georg.brandl python-checkins at python.org
Sun Dec 9 10:18:28 CET 2007


Author: georg.brandl
Date: Sun Dec  9 10:18:28 2007
New Revision: 59439

Modified:
   peps/trunk/pep-3100.txt
Log:
make clear that reduce() is still there.


Modified: peps/trunk/pep-3100.txt
==============================================================================
--- peps/trunk/pep-3100.txt	(original)
+++ peps/trunk/pep-3100.txt	Sun Dec  9 10:18:28 2007
@@ -187,7 +187,8 @@
 * ``coerce()``: no longer needed [2]_ [done]
 * ``execfile()``, ``reload()``: use ``exec()`` [2]_ [done]
 * ``intern()``: put in ``sys`` [2]_, [22]_ [done]
-* ``reduce()``: write a loop instead [2]_, [9]_ [done]
+* ``reduce()``: put in ``functools``, a loop is more readable most of the
+  times [2]_, [9]_ [done]
 * ``xrange()``: use ``range()`` instead [1]_ [See range() above] [done]
 * ``StandardError``: this is a relic from the original exception hierarchy;
    subclass ``Exception`` instead. [done]


More information about the Python-checkins mailing list