summaryrefslogtreecommitdiff
path: root/Modules/_codecsmodule.c
AgeCommit message (Collapse)AuthorLines
2003-02-04Fix for [ 543344 ] Interpreter crashes when recoding; suggestedMarc-André Lemburg-1/+3
by Michael Stone (mbrierst). Python 2.1.4, 2.2.2 candidate.
2002-10-31Add docstrings to register, lookup, register_errorWalter Dörwald-4/+36
and lookup_error. This closes SF patch #630622.
2002-09-02PEP 293 implemention (from SF patch http://www.python.org/sf/432401)Walter Dörwald-0/+28
2002-08-14Patch #505705: Remove eval in pickle and cPickle.Martin v. Löwis-1/+45
2002-08-02Excise DL_EXPORT/DL_IMPORT from Modules/*. Required adding a prototypeMark Hammond-1/+1
for Py_Main(). Thanks to Kalle Svensson and Skip Montanaro for the patches.
2002-06-30Patch #569753: Remove support for WIN16.Martin v. Löwis-5/+5
Rename all occurrences of MS_WIN32 to MS_WINDOWS.
2002-01-17Patch #477750: Use METH_ constants in Modules.Martin v. Löwis-29/+29
2001-09-20Patch #435971: UTF-7 codec by Brian Quinlan.Marc-André Lemburg-0/+42
2001-08-17Patch #445762: Support --disable-unicodeMartin v. Löwis-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.
2001-06-26experimental UCS-4 support: don't assume that MS_WIN32 impliesFredrik Lundh-3/+3
HAVE_USABLE_WCHAR_T
2001-06-17Fix for bug [ #433047 ] missing args to PyArg_ParseTupleMarc-André Lemburg-2/+2
2000-09-21Added a true unicode_internal_encode function and fixed theMarc-André Lemburg-7/+41
unicode_internal_decode function to support Unicode objects directly rather than by generating a copy of the object.
2000-08-03Changing the CNRI copyright notice according to CNRI's instructions.Guido van Rossum-1/+1
This is a notice without a date, which apparently is not a claim to copyright but only advice to the reader. IANAL. :-)
2000-07-21Bunch of minor ANSIfications: 'void initfunc()' -> 'void initfunc(void)',Thomas Wouters-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 ;)
2000-07-05Modified the encode interfaces of all builtin codecs to acceptMarc-André Lemburg-50/+105
any object which can be converted to Unicode by means of PyUnicode_FromObject().
2000-03-28Marc-Andre Lemburg:Guido van Rossum-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.
2000-03-10Internal module _codecs -- Provides access to the codec registry andGuido van Rossum-0/+529
the builtin codecs. Written by Marc-Andre Lemburg.