[Python-checkins] r46521 - peps/trunk/pep-0309.txt peps/trunk/pep-0356.txt

nick.coghlan python-checkins at python.org
Mon May 29 14:49:04 CEST 2006


Author: nick.coghlan
Date: Mon May 29 14:49:03 2006
New Revision: 46521

Modified:
   peps/trunk/pep-0309.txt
   peps/trunk/pep-0356.txt
Log:
functional has been renamed to functools and alpha 3 was skipped

Modified: peps/trunk/pep-0309.txt
==============================================================================
--- peps/trunk/pep-0309.txt	(original)
+++ peps/trunk/pep-0309.txt	Mon May 29 14:49:03 2006
@@ -8,7 +8,21 @@
 Content-Type: text/x-rst
 Created: 08-Feb-2003
 Python-Version: 2.5
-Post-History: 10-Feb-2003, 27-Feb-2003, 22-Feb-2004
+Post-History: 10-Feb-2003, 27-Feb-2003, 22-Feb-2004, 28-Apr-2006
+
+
+Note
+====
+
+Following the acceptance of this PEP, further discussion on python-dev and
+comp.lang.python revealed a desire for several tools that operated on
+function objects, but were not related to functional programming.  Rather
+than create a new module for these tools, it was agreed [1]_ that the
+"functional" module be renamed to "functools" to reflect its newly-widened
+focus.
+
+References in this PEP to a "functional" module have been left in for
+historical reasons.
 
 
 Abstract
@@ -100,7 +114,7 @@
             return self.fn(*(self.args + args), **d)
 
 (A recipe similar to this has been in the Python Cookbook for some
-time [1]_.)
+time [3]_.)
 
 Note that when the object is called as though it were a function,
 positional arguments are appended to those provided to the
@@ -269,10 +283,12 @@
 References
 ==========
 
-.. [1] http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/52549
+.. [1] http://mail.python.org/pipermail/python-dev/2006-March/062290.html
 
 .. [2] Patches 931005_, 931007_, and 931010_.
 
+.. [3] http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/52549
+
 .. _931005: http://www.python.org/sf/931005
 .. _931007: http://www.python.org/sf/931007
 .. _931010: http://www.python.org/sf/931010

Modified: peps/trunk/pep-0356.txt
==============================================================================
--- peps/trunk/pep-0356.txt	(original)
+++ peps/trunk/pep-0356.txt	Mon May 29 14:49:03 2006
@@ -38,7 +38,7 @@
 
     alpha 1: April 5, 2006 [completed]
     alpha 2: April 27, 2006 [completed]
-    alpha 3: May 25, 2006 [planned]
+    alpha 3: ------------- [skipped]
     beta 1:  June 14, 2006 [planned]
     beta 2:  July 6, 2006 [planned]
     rc 1:    July 27, 2006 [planned]
@@ -106,7 +106,12 @@
     Each feature below should implemented prior to beta1 or
     will require BDFL approval for inclusion in 2.5.
 
-    - Add @decorator decorator to functional, rename to functools?
+    - Add update_wrapper function to functools (approved by BDFL)
+      http://mail.python.org/pipermail/python-dev/2006-May/064775.html
+      (Owner: Nick Coghlan - patches with tests & docs welcome, though ;)
+
+    - Add @wraps(f) decorator factory to functools?
+      (see comment in functools Python module)
 
     - Modules under consideration for inclusion:
 


More information about the Python-checkins mailing list