[Python-checkins] python/nondist/peps pep-0309.txt, 1.7, 1.8 pep-0000.txt, 1.300, 1.301

rhettinger at users.sourceforge.net rhettinger at users.sourceforge.net
Mon Feb 28 20:53:32 CET 2005


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

Modified Files:
	pep-0309.txt pep-0000.txt 
Log Message:
Update PEP 309 and mark as final (checked-in to cvs).



Index: pep-0309.txt
===================================================================
RCS file: /cvsroot/python/python/nondist/peps/pep-0309.txt,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- pep-0309.txt	27 Aug 2004 13:29:47 -0000	1.7
+++ pep-0309.txt	28 Feb 2005 19:53:29 -0000	1.8
@@ -3,11 +3,11 @@
 Version: $Revision$
 Last-Modified: $Date$
 Author: Peter Harris <scav at blueyonder.co.uk>
-Status: Accepted
+Status: Final
 Type: Standards Track
 Content-Type: text/x-rst
 Created: 08-Feb-2003
-Python-Version: 2.4
+Python-Version: 2.5
 Post-History: 10-Feb-2003, 27-Feb-2003, 22-Feb-2004
 
 
@@ -25,6 +25,19 @@
 An implementation has been submitted to SourceForge [2]_.
 
 
+Acceptance
+==========
+
+Patch #941881 was accepted and applied in 2005 for Py2.5.  It is
+essentially as outlined here, a partial() type constructor binding
+leftmost positional arguments and any keywords.  The partial object has
+three read-only attributes func, args, and keywords.  Calls to the partial
+object can specify keywords that override those in the object itself.
+
+There is a separate and continuing discussion of whether to modify the
+partial implementation with a __get__ method to more closely emulate
+the behavior of an equivalent function.
+
 Motivation
 ==========
 

Index: pep-0000.txt
===================================================================
RCS file: /cvsroot/python/python/nondist/peps/pep-0000.txt,v
retrieving revision 1.300
retrieving revision 1.301
diff -u -d -r1.300 -r1.301
--- pep-0000.txt	12 Feb 2005 22:02:05 -0000	1.300
+++ pep-0000.txt	28 Feb 2005 19:53:29 -0000	1.301
@@ -63,7 +63,6 @@
 
  Accepted PEPs (accepted; may not be implemented yet)
 
- SA  309  Partial Function Application                 Harris
  SA  328  Imports: Multi-Line and Absolute/Relative    Aahz
 
  Open PEPs (under consideration)
@@ -168,6 +167,7 @@
  SF  293  Codec Error Handling Callbacks               Dörwald
  SF  305  CSV File API                                 Montanaro, et al
  SF  307  Extensions to the pickle protocol            GvR, Peters
+ SF  309  Partial Function Application                 Harris
  SF  311  Simplified GIL Acquisition for Extensions    Hammond
  SF  318  Decorators for Functions and Methods         Smith, et al
  IF  320  Python 2.4 Release Schedule                  Warsaw, et al
@@ -343,7 +343,7 @@
  I   306  How to Change Python's Grammar               Hudson
  SF  307  Extensions to the pickle protocol            GvR, Peters
  SR  308  If-then-else expression                      GvR, Hettinger
- SA  309  Partial Function Application                 Harris
+ SF  309  Partial Function Application                 Harris
  S   310  Reliable Acquisition/Release Pairs           Hudson, Moore
  SF  311  Simplified GIL Acquisition for Extensions    Hammond
  S   312  Simple Implicit Lambda                       Suzi, Martelli



More information about the Python-checkins mailing list