Index: pep-0309.txt =================================================================== --- pep-0309.txt (revision 45798) +++ pep-0309.txt (working copy) @@ -8,9 +8,23 @@ 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