]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-138775: fix handle `python -m base64` stdin correct with EOF signal (GH-138776)
authoryihong <zouzou0208@gmail.com>
Tue, 11 Nov 2025 23:47:57 +0000 (07:47 +0800)
committerGitHub <noreply@github.com>
Tue, 11 Nov 2025 23:47:57 +0000 (23:47 +0000)
commitf5c2a41f9a6b3be95c5be9dbae0a4a3342d356dc
tree0a8b99711d8e0497e318fad89032d585a45a49b5
parent4359706ac8d5589fc37e2f1460a0d07a2319df15
gh-138775: fix handle `python -m base64` stdin correct with EOF signal (GH-138776)

* fix: handle  stdin correct with EOF single.
* fix: flollow the comments when pipe stdin use buffer
* Apply suggestions from code review
* fix: apply review comments in Lib/base64.py
* fix: address comments
* Reword comment and NEWS entry.

---------

Signed-off-by: yihong0618 <zouzou0208@gmail.com>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
Co-authored-by: Gregory P. Smith <greg@krypto.org>
Lib/base64.py
Misc/NEWS.d/next/Library/2025-09-11-15-03-37.gh-issue-138775.w7rnSx.rst [new file with mode: 0644]