[Python-checkins] CVS: python/dist/src/Objects unicodeobject.c,2.24,2.25
M.-A. Lemburg
python-dev@python.org
Sat, 10 Jun 2000 02:32:54 -0700
Update of /cvsroot/python/python/dist/src/Objects
In directory slayer.i.sourceforge.net:/tmp/cvs-serv17744/Objects
Modified Files:
unicodeobject.c
Log Message:
Marc-Andre Lemburg <mal@lemburg.com>:
Fixed a typo and removed a debug printf(). Thanks to Finn Bock
for finding these.
Index: unicodeobject.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Objects/unicodeobject.c,v
retrieving revision 2.24
retrieving revision 2.25
diff -C2 -r2.24 -r2.25
*** unicodeobject.c 2000/06/09 14:04:53 2.24
--- unicodeobject.c 2000/06/10 09:32:51 2.25
***************
*** 733,737 ****
bytes which the Python implementation currently does
not support. */
- printf("code range problem: U+%04x\n", ch);
if (utf8_encoding_error(&s, &p, errors,
"unsupported code range"))
--- 733,736 ----
***************
*** 1735,1739 ****
if (value < 0 || value > 65535) {
PyErr_SetString(PyExc_TypeError,
! "character mapping must be in range(65336)");
Py_DECREF(x);
goto onError;
--- 1734,1738 ----
if (value < 0 || value > 65535) {
PyErr_SetString(PyExc_TypeError,
! "character mapping must be in range(65536)");
Py_DECREF(x);
goto onError;