diff options
author | Gihwan Kim <ghkim3221@gmail.com> | 2023-02-21 03:10:29 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-21 03:10:29 (GMT) |
commit | 6f25657b83d7a680a97849490f6e973b3a695e1a (patch) | |
tree | e662164741282f67df22c1eadff0c1665ac384ea /Misc | |
parent | 022b44f2546c44183e4df7b67e3e64502fae9143 (diff) | |
download | cpython-6f25657b83d7a680a97849490f6e973b3a695e1a.zip cpython-6f25657b83d7a680a97849490f6e973b3a695e1a.tar.gz cpython-6f25657b83d7a680a97849490f6e973b3a695e1a.tar.bz2 |
gh-101961 fileinput.hookcompressed should not set the encoding value for the binary mode (gh-102068)
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
@@ -927,6 +927,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. |