Bug report
Bug description:
Issue Title: Terminal freezes on macOS when passing a JWT token via getpass
Summary
When attempting to input a long string—specifically a JSON Web Token (JWT)—using Python's getpass module in the macOS Terminal, the terminal application hangs and freezes completely, requiring a force quit.
Steps to Reproduce
Open Terminal (or iTerm2) on macOS.
Run a Python script or interactive shell that calls getpass.getpass().
Paste a standard long JWT string into the prompt.
Observe the terminal freeze/hang.
Expected Behavior
The terminal should accept the input securely (masking characters if applicable) without locking up, allowing the script to proceed.
Actual Behavior
The terminal interface stops responding entirely
Environment
OS: macOS (any version 10+)
CPython versions tested on:
3.13
Operating systems tested on:
macOS
Bug report
Bug description:
Issue Title: Terminal freezes on macOS when passing a JWT token via getpass
Summary
When attempting to input a long string—specifically a JSON Web Token (JWT)—using Python's getpass module in the macOS Terminal, the terminal application hangs and freezes completely, requiring a force quit.
Steps to Reproduce
Open Terminal (or iTerm2) on macOS.
Run a Python script or interactive shell that calls getpass.getpass().
Paste a standard long JWT string into the prompt.
Observe the terminal freeze/hang.
Expected Behavior
The terminal should accept the input securely (masking characters if applicable) without locking up, allowing the script to proceed.
Actual Behavior
The terminal interface stops responding entirely
Environment
OS: macOS (any version 10+)
CPython versions tested on:
3.13
Operating systems tested on:
macOS