-
-
Notifications
You must be signed in to change notification settings - Fork 30.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[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 6f25657) Co-authored-by: Gihwan Kim <gihwan.kim@linecorp.com>
- Loading branch information
1 parent
e9103e6
commit 5bc6927
Showing
4 changed files
with
32 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -919,6 +919,7 @@ Tyler Kieft | |
Mads Kiilerich | ||
Jason Killen | ||
Derek D. Kim | ||
Gihwan Kim | ||
Jan Kim | ||
Taek Joo Kim | ||
Sam Kimbrel | ||
|
2 changes: 2 additions & 0 deletions
2
Misc/NEWS.d/next/Library/2023-02-21-10-05-33.gh-issue-101961.7e56jh.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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. |