[Python-checkins] CVS: python/dist/src/Lib/encodings mbcs.py,1.1,1.2

Guido van Rossum python-dev@python.org
Tue, 28 Mar 2000 15:30:29 -0500 (EST)

Update of /projects/cvsroot/python/dist/src/Lib/encodings
In directory eric:/home/guido/hp/mal/py-patched/Lib/encodings

Modified Files:
Log Message:
Marc-Andre Lemburg:

The attached patch set includes a workaround to get Python with
Unicode compile on BSDI 4.x (courtesy Thomas Wouters; the cause
is a bug in the BSDI wchar.h header file) and Python interfaces
for the MBCS codec donated by Mark Hammond.

Also included are some minor corrections w/r to the docs of
the new "es" and "es#" parser markers (use PyMem_Free() instead
of free(); thanks to Mark Hammond for finding these).

The unicodedata tests are now in a separate file
(test_unicodedata.py) to avoid problems if the module cannot
be found.

Index: mbcs.py
RCS file: /projects/cvsroot/python/dist/src/Lib/encodings/mbcs.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** mbcs.py	2000/03/28 01:58:50	1.1
--- mbcs.py	2000/03/28 20:29:56	1.2
*** 35,37 ****
      return (Codec.encode,Codec.decode,StreamReader,StreamWriter)
--- 35,36 ----