This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author JosephArmbruster
Recipients JosephArmbruster, amc1, mhammond, tim.peters
Date 2007-12-17.18:53:36
SpamBayes Score 0.4945041
Marked as misclassified No
Message-id <>
For the record, I tested this out with:

rev: 59540
OS Name: Microsoft Windows XP Professional
OS Version: 5.1.2600 Service Pack 2 Build 2600

The following snippet appeared to behave as intended (i input "secret"
them "something else"):

>>> import getpass
>>> def x():
...    secret = getpass.getpass('Tell me a secret: ')
...    stuff = input('Tell me something else: ')
...    print('The user told me the secret was "%s" and the other thing
was "%s"' % (secret, stuff))
>>> x()
Tell me a secret:
Tell me something else: something else
The user told me the secret was "secret" and the other thing was
"something else
Date User Action Args
2007-12-17 18:53:36JosephArmbrustersetspambayes_score: 0.494504 -> 0.4945041
recipients: + JosephArmbruster, tim.peters, mhammond, amc1
2007-12-17 18:53:36JosephArmbrustersetspambayes_score: 0.494504 -> 0.494504
messageid: <>
2007-12-17 18:53:36JosephArmbrusterlinkissue546558 messages
2007-12-17 18:53:36JosephArmbrustercreate