summaryrefslogtreecommitdiffstats
path: root/Modules/_codecsmodule.c
Commit message (Collapse)AuthorAgeFilesLines
* Patch #477750: Use METH_ constants in Modules.Martin v. Löwis2002-01-171-29/+29
|
* Patch #435971: UTF-7 codec by Brian Quinlan.Marc-André Lemburg2001-09-201-0/+42
|
* Patch #445762: Support --disable-unicodeMartin v. Löwis2001-08-171-0/+4
| | | | | | | | - Do not compile unicodeobject, unicodectype, and unicodedata if Unicode is disabled - check for Py_USING_UNICODE in all places that use Unicode functions - disables unicode literals, and the builtin functions - add the types.StringTypes list - remove Unicode literals from most tests.
* experimental UCS-4 support: don't assume that MS_WIN32 impliesFredrik Lundh2001-06-261-3/+3
| | | | HAVE_USABLE_WCHAR_T
* Fix for bug [ #433047 ] missing args to PyArg_ParseTupleMarc-André Lemburg2001-06-171-2/+2
|
* Added a true unicode_internal_encode function and fixed theMarc-André Lemburg2000-09-211-9/+43
| | | | | unicode_internal_decode function to support Unicode objects directly rather than by generating a copy of the object.
* Changing the CNRI copyright notice according to CNRI's instructions.Guido van Rossum2000-08-031-1/+1
| | | | | This is a notice without a date, which apparently is not a claim to copyright but only advice to the reader. IANAL. :-)
* Bunch of minor ANSIfications: 'void initfunc()' -> 'void initfunc(void)',Thomas Wouters2000-07-211-1/+1
| | | | | | | | | | | | | | | | | | and a couple of functions that were missed in the previous batches. Not terribly tested, but very carefully scrutinized, three times. All these were found by the little findkrc.py that I posted to python-dev, which means there might be more lurking. Cases such as this: long func(a, b) long a; long b; /* flagword */ { and other cases where the last ; in the argument list isn't followed by a newline and an opening curly bracket. Regexps to catch all are welcome, of course ;)
* Modified the encode interfaces of all builtin codecs to acceptMarc-André Lemburg2000-07-051-50/+105
| | | | | any object which can be converted to Unicode by means of PyUnicode_FromObject().
* Marc-Andre Lemburg:Guido van Rossum2000-03-281-0/+46
| | | | | | | | | | | | | | | 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.
* Internal module _codecs -- Provides access to the codec registry andGuido van Rossum2000-03-101-0/+529
the builtin codecs. Written by Marc-Andre Lemburg.