summaryrefslogtreecommitdiffstats
path: root/Doc/library/codecs.rst
Commit message (Collapse)AuthorAgeFilesLines
* bpo-36297: remove "unicode_internal" codec (GH-12342)Inada Naoki2019-03-181-10/+4
|
* bpo-35110: Fix unintentional spaces around hyphens and dashes. (GH-10231)Serhiy Storchaka2018-10-311-4/+4
|
* bpo-35054: Add yet more index entries for symbols. (GH-10121)Serhiy Storchaka2018-10-281-0/+8
|
* bpo-32236: open() emits RuntimeWarning if buffering=1 for binary mode (GH-4842)Alexey Izbyshev2018-10-201-3/+3
| | | | | | | | | If buffering=1 is specified for open() in binary mode, it is silently treated as buffering=-1 (i.e., the default buffer size). Coupled with the fact that line buffering is always supported in Python 2, such behavior caused several issues (e.g., bpo-10344, bpo-21332). Warn that line buffering is not supported if open() is called with binary mode and buffering=1.
* bpo-11233: Create availability directive for documentation (GH-9692)Cheryl Sabella2018-10-121-1/+1
| | | | | | Replace "Availability: xxx" with ".. availability:: xxx" in the doc. Original patch by Georg Brandl. Co-Authored-By: Georg Brandl <georg@python.org>
* bpo-33641: Convert RFC references into links. (GH-7103)Serhiy Storchaka2018-05-311-3/+1
| | | | 85% of them are already links.
* bpo-28393: Update encoding lookup docs wrt bpo-27938 (#4871)Ville Skyttä2017-12-151-4/+8
|
* bpo-31824: Document default value of 'errors' parameters (GH-4328)Pablo Galindo2017-11-101-2/+2
|
* Improve IncrementalEncoder documentation (GH-2746)Zhiming Wang2017-09-101-9/+9
| | | getstate and setstate are instance methods, same as encode and reset.
* Issue #28763: Use double hyphens (rendered as en-dashes) in numerical rangesSerhiy Storchaka2016-11-261-3/+3
|\ | | | | | | in the documentation.
| * Issue #28763: Use double hyphens (rendered as en-dashes) in numerical rangesSerhiy Storchaka2016-11-261-3/+3
| | | | | | | | in the documentation.
* | Issue #23231: Merge codecs doc from 3.5 into 3.6Martin Panter2016-10-151-0/+9
|\ \ | |/
| * Issue #23231: Document codecs.iterencode(), iterdecode() shortcomingsMartin Panter2016-10-151-0/+9
| |
* | Issue #27959: Documents new encoding and alias.Steve Dower2016-09-071-2/+8
|/
* 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
|\ \ | |/