[Python-checkins] python/nondist/peps pep-0318.txt,1.11,1.12

goodger at users.sourceforge.net goodger at users.sourceforge.net
Sun Apr 4 12:19:28 EDT 2004


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

Modified Files:
	pep-0318.txt 
Log Message:
conflict between alternative proposed syntax and reST markup; escaped with inline literals

Index: pep-0318.txt
===================================================================
RCS file: /cvsroot/python/python/nondist/peps/pep-0318.txt,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** pep-0318.txt	4 Apr 2004 14:12:27 -0000	1.11
--- pep-0318.txt	4 Apr 2004 16:19:26 -0000	1.12
***************
*** 211,222 ****
  
  For syntax options which use a list-like syntax to specify the
! decorators a few alternatives have been proposed: '[|...|]',
! '*[...]*', and '<...>'.  None have gained traction.  The alternatives
! which involve square brackets only serve to make it obvious that the
! decorator construct is not a list.  They do nothing to make parsing
! any easier.  The '<...>' alternative presents parsing problems because
! '<' and '>' already parse as un-paired.  They present a further
! parsing ambiguity because a right angle bracket might be a greater
! than symbol instead of a closer for the decorators.
  
  
--- 211,222 ----
  
  For syntax options which use a list-like syntax to specify the
! decorators a few alternatives have been proposed: ``[|...|]``,
! ``*[...]*``, and ``<...>``.  None have gained traction.  The
! alternatives which involve square brackets only serve to make it
! obvious that the decorator construct is not a list.  They do nothing
! to make parsing any easier.  The '<...>' alternative presents parsing
! problems because '<' and '>' already parse as un-paired.  They present
! a further parsing ambiguity because a right angle bracket might be a
! greater than symbol instead of a closer for the decorators.
  
  




More information about the Python-checkins mailing list