Skip to content

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Sep 16, 2025

This amends commit bf8bbe9 by
restricting echo_char in getpass.getpass to single printable
ASCII characters as it would be uncommon to use long strings or
multi-byte characters for keyboard feedback.


(cherry picked from commit ab6893a)

Co-authored-by: Benjamin Johnson [email protected]
Co-authored-by: Bénédikt Tran [email protected]
Co-authored-by: Brian Schubert [email protected]


📚 Documentation preview 📚: https://cpython-previews--138988.org.readthedocs.build/

…acter (pythonGH-138591)

This amends commit bf8bbe9 by
restricting `echo_char` in `getpass.getpass` to single printable
ASCII characters as it would be uncommon to use long strings or
multi-byte characters for keyboard feedback.

---------
(cherry picked from commit ab6893a)

Co-authored-by: Benjamin Johnson <[email protected]>
Co-authored-by: Bénédikt Tran <[email protected]>
Co-authored-by: Brian Schubert <[email protected]>
@hugovk hugovk merged commit 37f8a63 into python:3.14 Sep 17, 2025
53 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants