[Python-checkins] python/dist/src/Doc/ref ref4.tex,1.33,1.34

montanaro@users.sourceforge.net montanaro@users.sourceforge.net
Tue, 27 Aug 2002 18:14:59 -0700


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

Modified Files:
	ref4.tex 
Log Message:
add warning about exception messages


Index: ref4.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/ref/ref4.tex,v
retrieving revision 1.33
retrieving revision 1.34
diff -C2 -d -r1.33 -r1.34
*** ref4.tex	26 Jun 2002 21:52:26 -0000	1.33
--- ref4.tex	28 Aug 2002 01:14:57 -0000	1.34
***************
*** 198,201 ****
--- 198,208 ----
  this object must be an instance of the exception class being raised.
  
+ \begin{notice}[warning]
+ Messages to exceptions are not part of the Python API.  Their contents may
+ change from one version of Python to the next without warning and should not
+ be relied on by code which will run under multiple versions of the
+ interpreter.
+ \end{notice}
+ 
  See also the description of the \keyword{try} statement in section
  \ref{try} and \keyword{raise} statement in section \ref{raise}.