[Python-checkins] CVS: python/nondist/peps pep-0232.txt,1.9,1.10
Barry Warsaw
bwarsaw@users.sourceforge.net
Wed, 28 Mar 2001 12:24:36 -0800
Update of /cvsroot/python/python/nondist/peps
In directory usw-pr-cvs1:/tmp/cvs-serv7576
Modified Files:
pep-0232.txt
Log Message:
Mark this PEP as Final, as it is now in Python 2.1. Any future
elaborations (e.g. as described in the retained "Future Directions"
section), must be proposed in a new PEP.
Index: pep-0232.txt
===================================================================
RCS file: /cvsroot/python/python/nondist/peps/pep-0232.txt,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -r1.9 -r1.10
*** pep-0232.txt 2001/02/26 18:13:05 1.9
--- pep-0232.txt 2001/03/28 20:24:34 1.10
***************
*** 3,10 ****
Version: $Revision$
Author: barry@digicool.com (Barry A. Warsaw)
! Status: Draft
Type: Standards Track
Created: 02-Dec-2000
! Python-Version: 2.1 / 2.2
Post-History: 20-Feb-2001
--- 3,10 ----
Version: $Revision$
Author: barry@digicool.com (Barry A. Warsaw)
! Status: Final
Type: Standards Track
Created: 02-Dec-2000
! Python-Version: 2.1
Post-History: 20-Feb-2001
***************
*** 97,104 ****
Future Directions
! - A previous version of this PEP (and the accompanying
! implementation) allowed for both setter and getter of attributes
! on unbound methods, and only getter on bound methods. A number
! of problems were discovered with this policy.
Because method attributes were stored in the underlying
--- 97,109 ----
Future Directions
! Here are a number of future directions to consider. Any adoption
! of these ideas would require a new PEP, which referenced this one,
! and would have to be targeted at a Python version subsequent to
! the 2.1 release.
!
! - A previous version of this PEP allowed for both setter and
! getter of attributes on unbound methods, and only getter on
! bound methods. A number of problems were discovered with this
! policy.
Because method attributes were stored in the underlying
***************
*** 129,133 ****
underlying function object.
! The proposal for Python 2.2 is to implement setting (bound or
unbound) method attributes by setting attributes on the instance
or class, using special naming conventions. I.e.
--- 134,138 ----
underlying function object.
! A future PEP might propose to implement setting (bound or
unbound) method attributes by setting attributes on the instance
or class, using special naming conventions. I.e.
***************
*** 181,185 ****
The BDFL is currently against any such special syntactic support
! for setting arbitrary function attributes.
--- 186,191 ----
The BDFL is currently against any such special syntactic support
! for setting arbitrary function attributes. Any syntax proposals
! would have to be outlined in new PEPs.
***************
*** 218,229 ****
Reference Implementation
! The reference implementation is available on SourceForge as a
! patch against the Python CVS tree (patch #103123). This patch
! doesn't include the regrtest module and output file. Those are
! available upon request.
!
! http://sourceforge.net/patch/?func=detailpatch&patch_id=103123&group_id=5470
!
! This patch has been applied and will become part of Python 2.1.
--- 224,229 ----
Reference Implementation
! This PEP has been accepted and the implementation has been
! integrated into Python 2.1.