summaryrefslogtreecommitdiffstats
path: root/Doc/library/codecs.rst
Commit message (Collapse)AuthorAgeFilesLines
* Issue #22558: Add remaining doc links to source code for Python-coded modules.Terry Jan Reedy2016-06-111-0/+3
| | | | | Reformat header above separator line (added if missing) to a common format. Patch by Yoni Lavi.
* Issue #27075: Link to StreamReader and StreamWriter docsBerker Peksag2016-05-211-4/+4
| | | | Patch by Ville Skyttä.
* Corrections for a/an in code comments and documentationMartin Panter2016-05-081-1/+1
|
* Issue #26736: Used HTTPS for external links in the documentation if possible.Serhiy Storchaka2016-05-071-1/+1
|
* Merge 3.4 (codecs, issue #24894)Victor Stinner2015-09-241-0/+2
|\
| * Issue #24894: Document the codec iso8859_11Victor Stinner2015-09-241-0/+2
| | | | | | | | Patch written by Prashant Tyagi.
* | Issue #16473: Merge codecs doc and test from 3.4 into 3.5Martin Panter2015-09-121-8/+8
|\ \ | |/
| * Issue #16473: Fix byte transform codec documentation; test quotetabs=TrueMartin Panter2015-09-121-8/+8
| | | | | | | | | | | | This changes the equivalent functions listed for the Base-64, hex and Quoted- Printable codecs to reflect the functions actually used. Also mention and test the "quotetabs" setting for Quoted-Printable encoding.
* | Issue #12160: Fix incorrect StreamCodec references in Codec.encode() and ↵Berker Peksag2015-07-301-4/+4
|\ \ | |/ | | | | | | | | | | | | Codec.decode() docs. It should StreamWriter for Codecs.encode() and StreamReader for Codec.decode(). Patch by Nick Weinhold.
| * Issue #12160: Fix incorrect StreamCodec references in Codec.encode() and ↵Berker Peksag2015-07-301-4/+4
| | | | | | | | | | | | | | | | Codec.decode() docs. It should StreamWriter for Codecs.encode() and StreamReader for Codec.decode(). Patch by Nick Weinhold.
| * Checking in this change LOCAL ONLY NO UPLOAD ANYWHEREv3.4.3Larry Hastings2015-02-251-1/+1
| |
* | Issue #22681: Added support for the koi8_t encoding.Serhiy Storchaka2015-05-121-0/+4
| |
* | Issue #22682: Added support for the kz1048 encoding.Serhiy Storchaka2015-05-121-0/+4
| |
* | Merge with 3.4Georg Brandl2015-02-251-1/+1
|\ \
| * | Remove unsupported (in latex) character from the source.Georg Brandl2015-02-251-1/+1
| |/
| * Issue #23181: More "codepoint" -> "code point".Serhiy Storchaka2015-01-181-6/+6
| |
* | Issue #22286: The "backslashreplace" error handlers now works withSerhiy Storchaka2015-01-251-5/+9
| | | | | | | | decoding and translating.
* | Closes #23181: codepoint -> code pointGeorg Brandl2015-01-141-6/+6
| |
* | Issue #19548: clean up merge issues in codecs docsNick Coghlan2015-01-071-3/+5
| | | | | | | | | | Patch by Martin Panter to clean up some problems with the merge of the codecs docs changes from Python 3.4.
* | Merge issue 19548 changes from 3.4Nick Coghlan2015-01-061-317/+334
|\ \ | |/
| * Issue 19548: update codecs module documentationNick Coghlan2015-01-061-303/+327
| | | | | | | | | | | | | | | | - clarified the distinction between text encodings and other codecs - clarified relationship with builtin open and the io module - consolidated documentation of error handlers into one section - clarified type constraints of some behaviours - added tests for some of the new statements in the docs
| * Issue #21488: Fix doc of codecs.decode() and codecs.encode(), no keyword ↵Victor Stinner2014-05-141-4/+6
| | | | | | | | | | | | support. Patch written by Brad Aylsworth.
| * whatsnew: cp273 codec (#10907797)R David Murray2014-03-081-0/+4
| | | | | | | | | | Also updated the docs and added the aliases mentioned by the references.
* | Issue #19676: Tweak documentation a bit.Berker Peksag2014-11-251-1/+3
| | | | | | | | | | | | * Updated version info to 3.5 * Fixed a markup error * Added a versionadded directive to namereplace_errors documentation
* | Issue #19676: Added the "namereplace" error handler.Serhiy Storchaka2014-11-251-0/+17
| |
* | Issue #18395: Rename ``_Py_char2wchar()`` to :c:func:`Py_DecodeLocale`, renameVictor Stinner2014-08-011-0/+1
| | | | | | | | | | ``_Py_wchar2char()`` to :c:func:`Py_EncodeLocale`, and document these functions.
* | #13437: link to the source code for a few more modulesAndrew Kuchling2014-03-191-1/+1
| |
* | whatsnew: cp273 codec (#10907797)R David Murray2014-03-081-0/+4
|/ | | | | Also updated the docs and added the aliases mentioned by the references.
* Issue #19668: Added support for the cp1125 encoding.Serhiy Storchaka2013-11-231-0/+4
|
* Close #7475: Restore binary & text transform codecsNick Coghlan2013-11-231-46/+70
| | | | | | | | | | | | The codecs themselves were restored in Python 3.2, this completes the restoration by adding back the convenience aliases. These aliases were originally left out due to confusing errors when attempting to use them with the text encoding specific convenience methods. Python 3.4 includes several improvements to those errors, thus permitting the aliases to be restored as well.
* Issue #12892: The utf-16* and utf-32* codecs now reject (lone) surrogates.Serhiy Storchaka2013-11-191-7/+18
| | | | | | | | | | The utf-16* and utf-32* encoders no longer allow surrogate code points (U+D800-U+DFFF) to be encoded. The utf-32* decoders no longer decode byte sequences that correspond to surrogate code points. The surrogatepass error handler now works with the utf-16* and utf-32* codecs. Based on patches by Victor Stinner and Kang-Hao (Kenny) Lu.
* Issue #18758: Fixed and improved cross-references.Serhiy Storchaka2013-10-131-11/+13
|\
| * Issue #18758: Fixed and improved cross-references.Serhiy Storchaka2013-10-131-11/+13
| |
* | Issue #17827: document codecs.encode and codecs.decodeNick Coghlan2013-10-131-0/+19
|\ \ | |/ | | | | | | | | | | | | | | - Merge from 3.3 - Added to What's New since these are more important in 3.x, as the bytes<->bytes and str<->str codecs don't fit the text model convenience methods in 3.x the way they did the basestring<->basestring methods in the 2.x text model - Included under Library in Misc/NEWS for the same reason
| * Issue #17827: Document codecs.encode and codecs.decodeNick Coghlan2013-10-131-0/+19
| |
* | merge with 3.3Georg Brandl2013-10-061-1/+1
|\ \ | |/
| * Fix order of required StreamReader/StreamWriter base classes. Spotted by ↵Georg Brandl2013-10-061-1/+1
| | | | | | | | Edward Welbourne on docs@.
* | Close #17839: support bytes-like objects in base64 moduleNick Coghlan2013-10-021-30/+35
|/ | | | | | | | | This mostly affected the encodebytes and decodebytes function (which are used by base64_codec) Also added a test to ensure all bytes-bytes codecs can handle memoryview input and tests for handling of multidimensional and non-bytes format input in the modern base64 API.
* Issue #18336. Fix a link to StreamReader's read() method.Serhiy Storchaka2013-07-111-1/+1
|
* Describe 'surrogateescape' in the documentation.Andrew Kuchling2013-06-161-1/+5
| | | | | | Also, improve some docstring descriptions of the 'errors' parameter. Closes #14015.
* Issue 17844: Clarify meaning of different codec tablesNick Coghlan2013-05-231-30/+50
|
* Issue #17844: Add links to encoders and decoders for bytes-to-bytes codecs.Serhiy Storchaka2013-05-221-27/+27
|
* #17841: remove missing codecs aliases from the documentation. Patch by ↵Ezio Melotti2013-05-101-33/+33
| | | | Thomas Fenzl.
* #17714: document that the base64 codec adds a trailing newline.Ezio Melotti2013-05-071-1/+3
|
* Closes #4159: add LaTeX tabular column specifications to tables that ↵Georg Brandl2013-03-281-0/+10
| | | | otherwise are cut off or have overlapping text.
* document that encoding error handlers may return bytes (#16585)Benjamin Peterson2012-12-021-7/+10
|
* Issue #15444: Use proper spelling for non-ASCII contributor names.Antoine Pitrou2012-08-111-2/+2
|\ | | | | | | Patch by Serhiy Storchaka.
| * Issue #15444: Use proper spelling for non-ASCII contributor names.Antoine Pitrou2012-08-111-2/+2
| | | | | | | | Patch by Serhiy Storchaka.
* | Fix and deprecated the unicode_internal codecVictor Stinner2011-11-101-0/+2
| | | | | | | | | | | | unicode_internal codec uses Py_UNICODE instead of the real internal representation (PEP 393: Py_UCS1, Py_UCS2 or Py_UCS4) for backward compatibility.
* | Close #13247: Add cp65001 codec, the Windows UTF-8 (CP_UTF8)Victor Stinner2011-10-261-0/+5
| |