Skip to content

while True: input() produces a lost sys.stderr on termux #139459

@mahdoosh1

Description

@mahdoosh1

Bug report

Bug description:

~/huh $ python -c "while True: input()"
^Cobject address  : 0x6fb5d862c0
object refcount : 3
object type     : 0x724a070bd8
object type name: EOFError
object repr     : EOFError()
lost sys.stderr
~/huh $ python --version
Python 3.12.11

CPython versions tested on:

3.12 (from termux pkg)

Operating systems tested on:

Linux (Termux)

Metadata

Metadata

Assignees

No one assigned

    Labels

    OS-unsupportedinterpreter-core(Objects, Python, Grammar, and Parser dirs)pendingThe issue will be closed if no feedback is providedtype-bugAn unexpected behavior, bug, or error

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions