[Python-checkins] CVS: python/nondist/peps pep-0213.txt,1.2,1.3
Paul Prescod
python-dev@python.org
2000年7月21日 14:59:32 -0700
Update of /cvsroot/python/python/nondist/peps
In directory slayer.i.sourceforge.net:/tmp/cvs-serv25071
Modified Files:
pep-0213.txt
Log Message:
Update suggested by gmcm -- method is stored in dict alongside
attribute access handler
Index: pep-0213.txt
===================================================================
RCS file: /cvsroot/python/python/nondist/peps/pep-0213.txt,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** pep-0213.txt 2000年07月21日 21:14:26 1.2
--- pep-0213.txt 2000年07月21日 21:59:29 1.3
***************
*** 134,144 ****
method (pointer to a method object
! In PyClass_New, methods of
! the appropriate form will be detected and converted into objects
! (just like unbound method objects). If there are any attribute access
! handlers in an instance at all, a flag is set. Let's call
! it "I_have_computed_attributes" for now. Derived classes inherit
! the flag from base classes. Instances inherit the flag from
! classes.
A get proceeds as usual until just before the object is returned.
--- 134,146 ----
method (pointer to a method object
! In PyClass_New, methods of the appropriate form will be detected and
! converted into objects (just like unbound method objects). These are
! stored in the class __dict__ under the name XXX. The original method
! is stored as an unbound method under its original name.
!
! If there are any attribute access handlers in an instance at all,
! a flag is set. Let's call it "I_have_computed_attributes" for
! now. Derived classes inherit the flag from base classes. Instances
! inherit the flag from classes.
A get proceeds as usual until just before the object is returned.