summaryrefslogtreecommitdiffstats
path: root/Include/codecs.h
Commit message (Collapse)AuthorAgeFilesLines
* bpo-41842: Add codecs.unregister() function (GH-22360)Hai Shi2020-09-281-0/+8
| | | | Add codecs.unregister() and PyCodec_Unregister() functions to unregister a codec search function.
* Issue #29058: All stable API extensions added after Python 3.2 are nowSerhiy Storchaka2016-12-271-0/+4
| | | | | available only when Py_LIMITED_API is set to the PY_VERSION_HEX value of the minimum Python version supporting this API.
* Issue #25523: Merge "a" to "an" fixes from 3.4 into 3.5Martin Panter2015-11-021-2/+2
|\
| * Issue #25523: Correct "a" article to "an" articleMartin Panter2015-11-021-2/+2
| | | | | | | | | | | | This changes the main documentation, doc strings, source code comments, and a couple error messages in the test suite. In some cases the word was removed or edited some other way to fix the grammar.
* | Removed unintentional trailing spaces in non-external and non-generated C files.Serhiy Storchaka2015-03-181-3/+3
| |
* | Issue #19676: Added the "namereplace" error handler.Serhiy Storchaka2014-11-251-0/+3
|/
* Issue #22166: clear codec caches in test_codecsNick Coghlan2014-09-151-0/+4
|
* Close #20404: blacklist non-text encodings in io.TextIOWrapperNick Coghlan2014-02-041-0/+20
| | | | | | | | | - io.TextIOWrapper (and hence the open() builtin) now use the internal codec marking system added for issue #19619 - also tweaked the C code to only look up the encoding once, rather than multiple times - the existing output type checks remain in place to deal with unmarked third party codecs.
* Issue #19526: Exclude all new API from the stable ABI.Martin v. Löwis2014-01-031-1/+1
|
* 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