yihong0618 ยท GitHub

Bug report

Bug description:

โžœ  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

Linked PRs

Read the original on github.com โ†—