Toshaksha
6784ef7da7
gh-136278: Document codecs.escape_encode() and codecs.escape_decode() ( #136314 )
...
Closes #136278
2025-07-27 16:37:52 +00:00
Stan Ulbrych
a93d9aaf62
gh-42237: Link to complete list of codec aliases ( #136625 )
...
Closes #42237
2025-07-13 13:12:46 +00:00
Stan Ulbrych
975b57d945
gh-76637: Note that undefined
Codec is for testing ( #136531 )
...
Closes #76637
2025-07-11 12:50:21 +02:00
Stan Ulbrych
4b41b2043b
gh-82663: Clarify codecs.iterdecode/encode
docs ( #136497 )
...
Closes #82663
2025-07-10 17:31:08 +02:00
Stan Ulbrych
f1dcf3c7bf
gh-53243: Document codecs.readbuffer_encode()
( #136284 )
...
Closes #53243
2025-07-09 09:39:55 +02:00
Stan Ulbrych
ffd7f2f231
gh-136162: Document encodings
package functions ( #136164 )
...
Closes #136162 .
2025-07-08 23:34:48 +02:00
Stan Ulbrych
2bdd50309f
gh-48181: Document codecs.charmap_build
( #135997 )
2025-06-30 15:42:08 +02:00
Hugo van Kemenade
b092705907
Python 3.14.0b1
2025-05-06 18:33:52 +03:00
Inada Naoki
4e294f6feb
gh-133036: Deprecate codecs.open ( #133038 )
...
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Co-authored-by: Victor Stinner <vstinner@python.org>
2025-04-30 10:11:09 +09:00
Semyon Moroz
bd47ec954d
gh-131885: Document /
for codecs
functions ( #131992 )
2025-04-14 18:55:29 +02:00
Stan Ulbrych
ad3bbe8fbc
gh-123441: Update Belorussian spelling (GH-132409)
2025-04-12 13:36:01 +03:00
Serhiy Storchaka
f7ef0203d4
gh-123803: Support arbitrary code page encodings on Windows (GH-123804)
...
If the cpXXX encoding is not directly implemented in Python, fall back
to use the Windows-specific API codecs.code_page_encode() and
codecs.code_page_decode().
2024-11-18 17:45:25 +00:00
Ned Batchelder
bcb435ee8f
docs: module page titles should not start with a link to themselves ( #117099 )
2024-05-08 20:34:40 +01:00
Hugo van Kemenade
3375282bb8
Docs: add link roles with Sphinx extlinks ( #117850 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2024-04-15 21:22:00 +03:00
Brian Schubert
b02ab65e80
gh-115664: Fix chronological ordering of versionadded and versionchanged directives ( #115676 )
2024-02-19 17:54:54 +00:00
Masayuki Moriyama
1476ac2c58
gh-102388: Add windows_31j to aliases for cp932 codec ( #102389 )
...
The charset name "Windows-31J" is registered in the IANA Charset Registry[1]
and is implemented in Python as the cp932 codec.
[1] https://www.iana.org/assignments/charset-reg/windows-31J
Signed-off-by: Masayuki Moriyama <masayuki.moriyama@miraclelinux.com>
2024-02-19 17:01:35 +09:00
Nikita Sobolev
a89708aeea
gh-101100: Fix sphinx warnings in library/codecs.rst
( #110979 )
2023-10-19 17:20:52 +03:00
Jacob Coffee
e27adc68cc
gh-109634: Fix :samp:
syntax (GH-110073)
2023-09-29 14:21:34 +03:00
Serhiy Storchaka
92af0cc580
gh-109634: Use :samp: role (GH-109635)
2023-09-23 09:31:20 +03:00
Stanley
d9407b174c
gh-51511: Note that codecs.open()'s encoding parameter affects automatic conversion to binary mode ( #94370 )
2022-10-21 16:01:05 -07:00
Christian Heimes
f81a6c5fc7
gh-95415: Make availability directive consistent (GH-95416)
2022-07-29 16:42:09 +02:00
Ma Lin
5bc2390229
bpo-38056: overhaul Error Handlers section in codecs documentation ( #15732 )
...
* 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>
2022-05-08 19:58:55 -07:00
slateny
6a7a8a740e
Doc: Fix link formatting typo (GH-91659)
2022-04-19 18:15:46 +09:00
180909
ea56845744
codecs docs: fix grammar mistake (GH-29462)
2022-04-02 14:12:32 -07:00
slateny
a8c87a239e
bpo-21910: Clarify docs for codecs writelines method (GH-31245)
...
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
2022-03-02 17:21:41 -08:00
Terry Jan Reedy
4c0fc65cd8
bpo-45277: Fix typo in codecs doc (GH-28555)
...
encoding => encode
2021-09-24 21:56:09 -04:00
Victor Stinner
19ba2122ac
bpo-37330: open() no longer accept 'U' in file mode (GH-28118)
...
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.
2021-09-02 12:58:00 +02:00
Inada Naoki
5c84bb506a
bpo-37751: Update codecs.register()
doc. (GH-25643)
2021-04-28 09:37:02 +09:00
Gregory P. Smith
1d023e374c
bpo-17305: Link to the third-party idna package. (GH-25208)
...
So long as we don't have idna2008 in the standard library, we should at least point people to the third-party solution.
2021-04-06 00:55:45 -07:00
Berker Peksag
1a9f51ed12
bpo-14014: Clarify StreamWriter.reset() documentation (GH-13716)
2021-01-06 04:14:42 +02:00
Hai Shi
d332e7b816
bpo-41842: Add codecs.unregister() function (GH-22360)
...
Add codecs.unregister() and PyCodec_Unregister() functions
to unregister a codec search function.
2020-09-28 23:41:11 +02:00
Victor Stinner
942f7a2dea
bpo-39674: Revert "bpo-37330: open() no longer accept 'U' in file mode (GH-16959)" (GH-18767)
...
This reverts commit e471e72977
.
The mode will be removed from Python 3.10.
2020-03-04 18:50:22 +01:00
Victor Stinner
e471e72977
bpo-37330: open() no longer accept 'U' in file mode (GH-16959)
...
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.
2019-10-28 15:40:08 +01:00
Géry Ogam
891e9e3b44
Correct typos in the codecs module documentation ( #15135 )
2019-09-12 08:41:32 +01:00
Ashwin Ramaswami
c4c15ed7a2
bpo-35551: encodings update (GH-11446)
2019-06-05 18:18:06 -04:00
Victor Stinner
3aef48e315
bpo-36778: Update cp65001 codec documentation (GH-13240)
...
Remove cp65001 from the codecs table, list it as an alias of utf_8
and add a versionchanged markup.
2019-05-13 10:42:31 +02:00
Victor Stinner
d267ac20c3
bpo-36778: cp65001 encoding becomes an alias to utf_8 (GH-13230)
2019-05-10 03:19:54 +02:00
Christopher Thorne
b5e2959b27
Doc: fix typo in IncrementalDecoder.setstate (GH-12724)
2019-04-11 15:09:29 +09:00
Inada Naoki
6a16b18224
bpo-36297: remove "unicode_internal" codec (GH-12342)
2019-03-18 15:44:11 +09:00
Serhiy Storchaka
3f819ca138
bpo-35110: Fix unintentional spaces around hyphens and dashes. (GH-10231)
2018-10-31 02:26:06 +02:00
Serhiy Storchaka
913876d824
bpo-35054: Add yet more index entries for symbols. (GH-10121)
2018-10-28 13:41:26 +02:00
Alexey Izbyshev
a2670565d8
bpo-32236: open() emits RuntimeWarning if buffering=1 for binary mode (GH-4842)
...
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.
2018-10-20 02:22:31 +02:00
Cheryl Sabella
2d6097d027
bpo-11233: Create availability directive for documentation (GH-9692)
...
Replace "Availability: xxx" with ".. availability:: xxx" in the doc.
Original patch by Georg Brandl.
Co-Authored-By: Georg Brandl <georg@python.org>
2018-10-12 16:55:20 +02:00
Serhiy Storchaka
0a36ac1a09
bpo-33641: Convert RFC references into links. (GH-7103)
...
85% of them are already links.
2018-05-31 07:39:00 +03:00
Ville Skyttä
297fd876aa
bpo-28393: Update encoding lookup docs wrt bpo-27938 ( #4871 )
2017-12-15 11:19:23 +01:00
Pablo Galindo
e184cfd7bf
bpo-31824: Document default value of 'errors' parameters (GH-4328)
2017-11-11 02:05:12 +03:00
Zhiming Wang
30644dee0c
Improve IncrementalEncoder documentation (GH-2746)
...
getstate and setstate are instance methods, same as encode and reset.
2017-09-09 23:09:55 -07:00
Serhiy Storchaka
0264e46caa
Issue #28763 : Use double hyphens (rendered as en-dashes) in numerical ranges
...
in the documentation.
2016-11-26 13:49:59 +02:00
Serhiy Storchaka
c7b1a0bbe2
Issue #28763 : Use double hyphens (rendered as en-dashes) in numerical ranges
...
in the documentation.
2016-11-26 13:43:28 +02:00
Martin Panter
36700e4578
Issue #23231 : Merge codecs doc from 3.5 into 3.6
2016-10-15 01:04:08 +00:00