[Python-checkins] python/dist/src/Doc/ref ref4.tex,1.35,1.36 ref6.tex,1.64,1.65

nnorwitz@users.sourceforge.net nnorwitz@users.sourceforge.net
Wed, 28 May 2003 19:17:25 -0700


Update of /cvsroot/python/python/dist/src/Doc/ref
In directory sc8-pr-cvs1:/tmp/cvs-serv26664/ref

Modified Files:
	ref4.tex ref6.tex 
Log Message:
SF bug #719367, string exceptions are deprecated

Remove references to string based exceptions in the doc.


Index: ref4.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/ref/ref4.tex,v
retrieving revision 1.35
retrieving revision 1.36
diff -C2 -d -r1.35 -r1.36
*** ref4.tex	18 Oct 2002 15:03:42 -0000	1.35
--- ref4.tex	29 May 2003 02:17:23 -0000	1.36
***************
*** 184,193 ****
  exception)}{\ttindex{SystemExit}}.
  
! Exceptions are identified by string objects or class instances.
! Selection of a matching except clause is based on object identity
! (i.e., two different string objects with the same value represent
! different exceptions!)  For string exceptions, the \keyword{except}
! clause must reference the same string object.  For class exceptions,
! the \keyword{except} clause must reference the same class or a base
  class of it.
  
--- 184,190 ----
  exception)}{\ttindex{SystemExit}}.
  
! Exceptions are identified by class instances.
! Selection of a matching except clause is based on object identity.
! The \keyword{except} clause must reference the same class or a base
  class of it.
  

Index: ref6.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/ref/ref6.tex,v
retrieving revision 1.64
retrieving revision 1.65
diff -C2 -d -r1.64 -r1.65
*** ref6.tex	21 May 2003 21:43:00 -0000	1.64
--- ref6.tex	29 May 2003 02:17:23 -0000	1.65
***************
*** 522,528 ****
  
  If no expressions are present, \keyword{raise} re-raises the last
! expression that was active in the current scope.  If no exception has
! been active in the current scope, an exception is raised that
! indicates indicates that this is the error.
  \index{exception}
  \indexii{raising}{exception}
--- 522,527 ----
  
  If no expressions are present, \keyword{raise} re-raises the last
! expression that was active in the current scope.  If no exception is
! active in the current scope, an exception is raised indicating this error.
  \index{exception}
  \indexii{raising}{exception}
***************
*** 545,551 ****
  constructor.  The instance so created by calling the constructor is
  used as the exception value.
- 
- If the first object is a string, the string object is the exception
- type, and the second object becomes the exception value.
  
  If a third object is present and not \code{None}, it must be a
--- 544,547 ----