diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2023-02-21 03:39:16 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-21 03:39:16 (GMT) |
commit | 5bc6927c68804c679583a17c13145619ebc44df5 (patch) | |
tree | 2f61c9636c598e25f0b51966921c56038905c4b9 /Misc | |
parent | e9103e69cd46c54276c75c0d2d0fe52e28d68809 (diff) | |
download | cpython-5bc6927c68804c679583a17c13145619ebc44df5.zip cpython-5bc6927c68804c679583a17c13145619ebc44df5.tar.gz cpython-5bc6927c68804c679583a17c13145619ebc44df5.tar.bz2 |
[3.11] gh-101961 fileinput.hookcompressed should not set the encoding value for the binary mode (gh-102068) (#102098)
gh-101961 fileinput.hookcompressed should not set the encoding value for the binary mode (gh-102068)
(cherry picked from commit 6f25657b83d7a680a97849490f6e973b3a695e1a)
Co-authored-by: Gihwan Kim <gihwan.kim@linecorp.com>
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/ACKS | 1 | ||||
-rw-r--r-- | Misc/NEWS.d/next/Library/2023-02-21-10-05-33.gh-issue-101961.7e56jh.rst | 2 |
2 files changed, 3 insertions, 0 deletions
@@ -919,6 +919,7 @@ Tyler Kieft Mads Kiilerich Jason Killen Derek D. Kim +Gihwan Kim Jan Kim Taek Joo Kim Sam Kimbrel diff --git a/Misc/NEWS.d/next/Library/2023-02-21-10-05-33.gh-issue-101961.7e56jh.rst b/Misc/NEWS.d/next/Library/2023-02-21-10-05-33.gh-issue-101961.7e56jh.rst new file mode 100644 index 0000000..a3d4119 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2023-02-21-10-05-33.gh-issue-101961.7e56jh.rst @@ -0,0 +1,2 @@ +For the binary mode, :func:`fileinput.hookcompressed` doesn't set the ``encoding`` value +even if the value is ``None``. Patch by Gihwan Kim. |