[Python-checkins] python/nondist/peps pep-0318.txt,1.2,1.3

goodger@users.sourceforge.net goodger@users.sourceforge.net
Tue, 29 Jul 2003 08:31:16 -0700


Update of /cvsroot/python/python/nondist/peps
In directory sc8-pr-cvs1:/tmp/cvs-serv27989

Modified Files:
	pep-0318.txt 
Log Message:
update from Kevin Smith

Index: pep-0318.txt
===================================================================
RCS file: /cvsroot/python/python/nondist/peps/pep-0318.txt,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** pep-0318.txt	10 Jun 2003 04:29:48 -0000	1.2
--- pep-0318.txt	29 Jul 2003 15:31:13 -0000	1.3
***************
*** 9,13 ****
  Created: 05-Jun-2003
  Python-Version: 2.4
! Post-History: 09-Jun-2003
  
  
--- 9,13 ----
  Created: 05-Jun-2003
  Python-Version: 2.4
! Post-History: 09-Jun-2003, 10-Jun-2003
  
  
***************
*** 128,132 ****
      itself, it makes sense that synchronized, lock, and 
      classmethod must exist at the time that the definition 
!     is compiled.  In addition, each of these arguments will be 
      evaluated before being applied to the compiled function.  
      This means that arguments like synchronized(lock) must 
--- 128,132 ----
      itself, it makes sense that synchronized, lock, and 
      classmethod must exist at the time that the definition 
!     is executed.  In addition, each of these arguments will be 
      evaluated before being applied to the compiled function.  
      This means that arguments like synchronized(lock) must 
***************
*** 150,154 ****
  
      In either case, the modified function is bound to the function
!     name at compile time.
  
  
--- 150,164 ----
  
      In either case, the modified function is bound to the function
!     name when the 'def' statement is executed.
! 
! 
! Current Implementations
! 
!     I am not personally familiar enough with Python's source to
!     implement the proposed syntax; however, Michael Hudson has 
!     implemented the "square-bracketed" syntax (see patch at
!     http://starship.python.net/crew/mwh/hacks/meth-syntax-sugar.diff).
!     It should be fairly simple for the Python development team
!     to translate this patch to the proposed syntax.