[Python-checkins] python/dist/src/Doc/lib libfuncs.tex,1.100.4.5,1.100.4.6

fdrake@users.sourceforge.net fdrake@users.sourceforge.net
Mon, 08 Jul 2002 22:27:14 -0700


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

Modified Files:
      Tag: release22-maint
	libfuncs.tex 
Log Message:
Note that unicode() can raise LookupError for unknown codecs.
Closes SF bug #513666.


Index: libfuncs.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/lib/libfuncs.tex,v
retrieving revision 1.100.4.5
retrieving revision 1.100.4.6
diff -C2 -d -r1.100.4.5 -r1.100.4.6
*** libfuncs.tex	8 Jul 2002 14:29:28 -0000	1.100.4.5
--- libfuncs.tex	9 Jul 2002 05:27:12 -0000	1.100.4.6
***************
*** 820,824 ****
    will decode the object which can either be an 8-bit string or a
    character buffer using the codec for \var{encoding}. The
!   \var{encoding} parameter is a string giving the name of an encoding.
    Error handling is done according to \var{errors}; this specifies the
    treatment of characters which are invalid in the input encoding.  If
--- 820,825 ----
    will decode the object which can either be an 8-bit string or a
    character buffer using the codec for \var{encoding}. The
!   \var{encoding} parameter is a string giving the name of an encoding;
!   if the encoding is not known, \exception{LookupError} is raised.
    Error handling is done according to \var{errors}; this specifies the
    treatment of characters which are invalid in the input encoding.  If