[Python-checkins] CVS: python/dist/src/Lib codecs.py,1.3,1.4
Guido van Rossum
python-dev@python.org
Fri, 24 Mar 2000 17:14:41 -0500 (EST)
Update of /projects/cvsroot/python/dist/src/Lib
In directory eric:/home/guido/hp/mal/py-patched/Lib
Modified Files:
codecs.py
Log Message:
Marc-Andre Lemburg:
Attached you find the latest update of the Unicode implementation.
The patch is against the current CVS version.
It includes the fix I posted yesterday for the core dump problem
in codecs.c (was introduced by my previous patch set -- sorry),
adds more tests for the codecs and two new parser markers
"es" and "es#".
Index: codecs.py
===================================================================
RCS file: /projects/cvsroot/python/dist/src/Lib/codecs.py,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** codecs.py 2000/03/17 15:42:11 1.3
--- codecs.py 2000/03/24 22:14:08 1.4
***************
*** 47,51 ****
string values are defined:
! 'strict' - raise an error (or a subclass)
'ignore' - ignore the character and continue with the next
'replace' - replace with a suitable replacement character;
--- 47,51 ----
string values are defined:
! 'strict' - raise a ValueError error (or a subclass)
'ignore' - ignore the character and continue with the next
'replace' - replace with a suitable replacement character;