forked from python/cpython
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pythongh-101961 fileinput.hookcompressed should not set the encoding …
…value for the binary mode (pythongh-102068) (cherry picked from commit 6f25657) Co-authored-by: Gihwan Kim <ghkim3221@gmail.com>
- Loading branch information
1 parent
7bb41d9
commit f8aabb5
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 |
---|---|---|
|
@@ -912,6 +912,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. |