summaryrefslogtreecommitdiffstats
path: root/Include/codecs.h
Commit message (Collapse)AuthorAgeFilesLines
* Issue #19619: Blacklist non-text codecs in method APINick Coghlan2013-11-221-0/+27
| | | | | | | | | | str.encode, bytes.decode and bytearray.decode now use an internal API to throw LookupError for known non-text encodings, rather than attempting the encoding or decoding operation and then throwing a TypeError for an unexpected output type. The latter mechanism remains in place for third party non-text encodings.
* Fix build under WindowsAntoine Pitrou2011-10-151-1/+1
|
* Issue #13088: Add shared Py_hexdigits constant to format a number into base 16Victor Stinner2011-10-141-0/+2
|
* Merge branches/pep-0384.Martin v. Löwis2010-12-031-0/+2
|
* #10439: document PyCodec C APIs.Georg Brandl2010-11-201-4/+4
|
* Move the codec decode type checks to bytes/bytearray.decode().Marc-André Lemburg2008-06-061-1/+12
| | | | | | | | | | | | Use faster PyUnicode_FromEncodedObject() for bytes/bytearray.decode(). Add new PyCodec_KnownEncoding() API. Add new PyUnicode_AsDecodedUnicode() and PyUnicode_AsEncodedUnicode() APIs. Add missing PyUnicode_AsDecodedObject() to unicodeobject.h Fix punicode codec to also work on memoryviews.
* Merge part of the trunk changes into the p3yk branch. This merges from 43030Thomas Wouters2006-04-211-4/+18
| | | | | | | | | | | | (branch-creation time) up to 43067. 43068 and 43069 contain a little swapping action between re.py and sre.py, and this mightily confuses svn merge, so later changes are going in separately. This merge should break no additional tests. The last-merged revision is going in a 'last_merge' property on '.' (the branch directory.) Arbitrarily chosen, really; if there's a BCP for this, I couldn't find it, but we can easily change it afterwards ;)
* PEP 293 implemention (from SF patch http://www.python.org/sf/432401)Walter Dörwald2002-09-021-0/+30
|
* Excise DL_EXPORT from Include.Mark Hammond2002-08-121-8/+8
| | | | Thanks to Skip Montanaro and Kalle Svensson for the patches.
* 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. :-)
* M.-A. Lemburg <mal@lemburg.com>:Fred Drake2000-05-091-7/+75
| | | | Added documentation and the missing PyCodec_StreamWriter API.
* Python Codec Registry and support functions, by Marc-Andre Lemburg.Guido van Rossum2000-03-101-0/+55