diff options
author | Guido van Rossum <guido@python.org> | 2000-03-28 20:29:59 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2000-03-28 20:29:59 (GMT) |
commit | 24bdb0474fca186da95dc045f157074e4d57c6b6 (patch) | |
tree | f3dc1f458303217ae0b3ecbff23d7dfe5e7b6d13 /Python | |
parent | 66d451397577a7710902b75104839afc7ca05b81 (diff) | |
download | cpython-24bdb0474fca186da95dc045f157074e4d57c6b6.zip cpython-24bdb0474fca186da95dc045f157074e4d57c6b6.tar.gz cpython-24bdb0474fca186da95dc045f157074e4d57c6b6.tar.bz2 |
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.
Diffstat (limited to 'Python')
-rw-r--r-- | Python/getargs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/getargs.c b/Python/getargs.c index 27a69d0..91fe267 100644 --- a/Python/getargs.c +++ b/Python/getargs.c @@ -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 */ |