summaryrefslogtreecommitdiffstats
path: root/Doc/library/codecs.rst
Commit message (Collapse)AuthorAgeFilesLines
* bpo-38056: overhaul Error Handlers section in codecs documentation (GH-15732)Miss Islington (bot)2022-05-091-73/+116
| | | | | | | | | | | | | * Some handlers were wrongly described as text-encoding only, but actually they can also be used in text-decoding. * Add more description to each handler. * Add two REPL examples. * Add indexes for Error Handler's name. Co-authored-by: Kyle Stanley <aeros167@gmail.com> Co-authored-by: Victor Stinner <vstinner@python.org> Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> (cherry picked from commit 5bc2390229bbcb4f13359e867fd8a140a1d5496b) Co-authored-by: Ma Lin <animalize@users.noreply.github.com>
* Doc: Fix link formatting typo (GH-91659)Miss Islington (bot)2022-04-191-1/+1
| | | | | (cherry picked from commit 6a7a8a740e61508cb5a0fcdac8b752b6c9e5d1ea) Co-authored-by: slateny <46876382+slateny@users.noreply.github.com>
* codecs docs: fix grammar mistake (GH-29462)Miss Islington (bot)2022-04-021-1/+1
| | | | | (cherry picked from commit ea56845744e815ed468dfbdd835110254c3be997) Co-authored-by: 180909 <wjh180909@gmail.com>
* bpo-21910: Clarify docs for codecs writelines method (GH-31245)Miss Islington (bot)2022-03-031-2/+3
| | | | | | Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> (cherry picked from commit a8c87a239ee1414d6dd0b062fe9ec3e5b0c50cb8) Co-authored-by: slateny <46876382+slateny@users.noreply.github.com>
* bpo-45277: Fix typo in codecs doc (GH-28555)Miss Islington (bot)2021-09-251-1/+1
| | | | | | encoding => encode (cherry picked from commit 4c0fc65cd8a6d4c18330505576ccd4b46abeec1c) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* bpo-37751: Update `codecs.register()` doc. (GH-25643)Miss Islington (bot)2021-04-281-3/+7
| | | | | (cherry picked from commit 5c84bb506aaca01f5f750116d8f7a41d41f8124d) Co-authored-by: Inada Naoki <songofacandy@gmail.com>
* bpo-17305: Link to the third-party idna package. (GH-25208)Miss Islington (bot)2021-04-061-0/+3
| | | | | | So long as we don't have idna2008 in the standard library, we should at least point people to the third-party solution. (cherry picked from commit 1d023e374cf96d143b065242131ddc9b889f9a1e) Co-authored-by: Gregory P. Smith <greg@krypto.org>
* bpo-14014: Clarify StreamWriter.reset() documentation (GH-13716)Miss Islington (bot)2021-01-061-2/+2
| | | | | (cherry picked from commit 1a9f51ed12feb4d95ad6d0faf610a030c05b9f5e) Co-authored-by: Berker Peksag <berker.peksag@gmail.com>
* bpo-39674: Revert "bpo-37330: open() no longer accept 'U' in file mode ↵Victor Stinner2020-03-041-3/+0
| | | | | | | (GH-16959)" (GH-18767) This reverts commit e471e72977c83664f13d041c78549140c86c92de. The mode will be removed from Python 3.10.
* bpo-37330: open() no longer accept 'U' in file mode (GH-16959)Victor Stinner2019-10-281-0/+3
| | | | | open(), io.open(), codecs.open() and fileinput.FileInput no longer accept "U" ("universal newline") in the file mode. This flag was deprecated since Python 3.3.
* Correct typos in the codecs module documentation (#15135)Géry Ogam2019-09-121-60/+61
|
* bpo-35551: encodings update (GH-11446)Ashwin Ramaswami2019-06-051-1/+2
|
* bpo-36778: Update cp65001 codec documentation (GH-13240)Victor Stinner2019-05-131-5/+4
| | | | Remove cp65001 from the codecs table, list it as an alias of utf_8 and add a versionchanged markup.
* bpo-36778: cp65001 encoding becomes an alias to utf_8 (GH-13230)Victor Stinner2019-05-101-2/+1
|
* Doc: fix typo in IncrementalDecoder.setstate (GH-12724)Christopher Thorne2019-04-111-1/+1
|
* 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