[Python-checkins] python/dist/src/Doc/ref ref5.tex,1.53.4.9,1.53.4.10

fdrake@users.sourceforge.net fdrake@users.sourceforge.net
Wed, 13 Nov 2002 07:33:16 -0800


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

Modified Files:
      Tag: release22-maint
	ref5.tex 
Log Message:
Update:  Older versions of Python crashed when calling repr()
(including the implied call using back-ticks) of a recursive object,
but this is no longer the case.
Reported by Manus Hand via email.


Index: ref5.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/ref/ref5.tex,v
retrieving revision 1.53.4.9
retrieving revision 1.53.4.10
diff -C2 -d -r1.53.4.9 -r1.53.4.10
*** ref5.tex	11 Oct 2002 20:59:57 -0000	1.53.4.9
--- ref5.tex	13 Nov 2002 15:33:13 -0000	1.53.4.10
***************
*** 262,268 ****
  ``funny'' characters to escape sequences that are safe to print.)
  
! It is illegal to attempt to convert recursive objects (e.g., lists or
! dictionaries that contain a reference to themselves, directly or
! indirectly.)
  \obindex{recursive}
  
--- 262,270 ----
  ``funny'' characters to escape sequences that are safe to print.)
  
! Recursive objects (for example, lists or dictionaries that contain a
! reference to themselves, directly or indirectly) use \samp{...} to
! indicate a recursive reference, and the result cannot be passed to
! \function{eval()} to get an equal value (\exception{SyntaxError} will
! be raised instead).
  \obindex{recursive}