[Python-Dev] Could getpass use streams other than stdin?

Mike Brown mike at skew.org
Fri Aug 13 00:35:00 CEST 2004


> def getpass(prompt='', stream=None)
>     if stream is None:
>         stream = sys.stdin
>     ...

Of course I meant sys.stdout there.


More information about the Python-Dev mailing list