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.
This commit is contained in:
Guido van Rossum 2000-03-28 20:29:59 +00:00
parent 66d4513975
commit 24bdb0474f
9 changed files with 116 additions and 56 deletions

View file

@ -704,7 +704,7 @@ convertsimple1(arg, p_format, p_va)
the data copied into it; *buffer is
updated to point to the new buffer;
the caller is responsible for
free()ing it after usage
PyMem_Free()ing it after usage
- if *buffer is not NULL, the data
is copied to *buffer; *buffer_len
@ -752,7 +752,7 @@ convertsimple1(arg, p_format, p_va)
is allocated and the data copied
into it; *buffer is updated to
point to the new buffer; the caller
is responsible for free()ing it
is responsible for PyMem_Free()ing it
after usage
*/