# Bug report ### Bug description: ```cli ➜ cpython git:(hy/handle_base64_sysin) ./python.exe -m base64 hello world ^D # type ctrl+D # nothing happen need to ctrl+d three times ``` for `-m ast` or `-m json` it handle stdin input with ctrl+d right ``` ➜ cpython git:(hy/handle_base64_sysin) ./python.exe -m json 1234 1234 # ctrl +d ``` ### CPython versions tested on: CPython main branch ### Operating systems tested on: macOS <!-- gh-linked-prs --> ### Linked PRs * gh-138776 * gh-141432 * gh-141433 <!-- /gh-linked-prs -->
Bug report
Bug description:
for
-m astor-m jsonit handle stdin input with ctrl+d rightCPython versions tested on:
CPython main branch
Operating systems tested on:
macOS
Linked PRs
python -m base64stdin correct with EOF signal #138776python -m base64stdin correct with EOF signal (GH-138776) #141432python -m base64stdin correct with EOF signal (GH-138776) #141433