[issue37466] Move casting prompt after its validation in _raw_input()

Tal Einat report at bugs.python.org
Mon Jul 1 07:28:48 EDT 2019


Tal Einat <taleinat at gmail.com> added the comment:

>> one would expect passing prompt=None to result in no prompt displayed

> I wouldn't. That's not how getpass works now, or input.

Ah, thanks for the input, Steve. In that case, this should likely not be changed.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37466>
_______________________________________


More information about the Python-bugs-list mailing list