History for Lib/codecs.py - python/cpython · GitHub

github.com

Tin mới

gh-62259: Add support of multi-byte encodings in the XML parser (GH-149860)

gh-62259: Add support of multi-byte encodings in the XML parser (GH-149860)

gh-52876: Implement missing parameter in `codecs.StreamReaderWriter` functions (#136498)

gh-52876: Implement missing parameter in `codecs.StreamReaderWriter` functions (#136498)

gh-133036: Deprecate codecs.open (#133038)

gh-133036: Deprecate codecs.open (#133038)

gh-121785: Remove unused code from codecs.py (GH-121787)

gh-121785: Remove unused code from codecs.py (GH-121787)

gh-120417: Add #noqa to used imports in the stdlib (#120421)

gh-120417: Add #noqa to used imports in the stdlib (#120421)

gh-66143: Allow copying and pickling of CodecInfo object (GH-109235)

gh-66143: Allow copying and pickling of CodecInfo object (GH-109235)

gh-50644: Forbid pickling of codecs streams (GH-109180)

gh-50644: Forbid pickling of codecs streams (GH-109180)

gh-51511: Note that codecs.open()'s encoding parameter affects automatic conversion to binary mode (#94370)

gh-51511: Note that codecs.open()'s encoding parameter affects automatic conversion to binary mode (#94370)

gh-93096: Remove `python -m codecs` (gh-94233)

gh-93096: Remove `python -m codecs` (gh-94233)

bpo-14014: Clarify StreamWriter.reset() documentation (GH-13716)

bpo-14014: Clarify StreamWriter.reset() documentation (GH-13716)

bpo-41521: Replace whitelist/blacklist with allowlist/denylist (GH-21822)

bpo-41521: Replace whitelist/blacklist with allowlist/denylist (GH-21822)

bpo-38971: Open file in codecs.open() closes if exception raised. (GH-17666)

bpo-38971: Open file in codecs.open() closes if exception raised. (GH-17666)

bpo-33361: Fix bug with seeking in StreamRecoders (GH-8278)

bpo-33361: Fix bug with seeking in StreamRecoders (GH-8278)

bpo-33482: fix codecs.StreamRecoder.writelines (GH-6779)

bpo-33482: fix codecs.StreamRecoder.writelines (GH-6779)

bpo-32236: open() emits RuntimeWarning if buffering=1 for binary mode (GH-4842)

bpo-32236: open() emits RuntimeWarning if buffering=1 for binary mode (GH-4842)

bpo-32110: codecs.StreamReader.read(n) now returns not more than n (#4499)

bpo-32110: codecs.StreamReader.read(n) now returns not more than n (#4499)

bpo-29783: Replace codecs.open() with io.open() (#599)

bpo-29783: Replace codecs.open() with io.open() (#599)

Issue #25523: Merge "a" to "an" fixes from 3.4 into 3.5

Issue #25523: Merge "a" to "an" fixes from 3.4 into 3.5

Issue #25523: Correct "a" article to "an" article

Issue #25523: Correct "a" article to "an" article

Issue #12160: Fix incorrect StreamCodec references in Codec.encode() and Codec.decode() docs.

Issue #12160: Fix incorrect StreamCodec references in Codec.encode() and Codec.decode() docs.

Issue #12160: Fix incorrect StreamCodec references in Codec.encode() and Codec.decode() docs.

Issue #12160: Fix incorrect StreamCodec references in Codec.encode() and Codec.decode() docs.

Escaped backslashes in docstrings.

Escaped backslashes in docstrings.

Escaped backslashes in docstrings.

Escaped backslashes in docstrings.

Issue #22286: The "backslashreplace" error handlers now works with

Issue #22286: The "backslashreplace" error handlers now works with

Issue #23181: More "codepoint" -> "code point".

Issue #23181: More "codepoint" -> "code point".

Merge issue 19548 changes from 3.4

Issue 19548: update codecs module documentation

Issue #23071: Added missing names to codecs.__all__. Patch by Martin Panter.

Issue #23071: Added missing names to codecs.__all__. Patch by Martin Panter.

Issue #19676: Added the "namereplace" error handler.

Issue #22032: __qualname__ instead of __name__ is now always used to format

Issue #8260: The read(), readline() and readlines() methods of

Issue #19619: Blacklist non-text codecs in method API

Describe 'surrogateescape' in the documentation.