[PSA MEMBERS] getpass .. bug ?

Jeremy Hylton jeremy at cnri.reston.va.us
Thu Jan 20 14:37:46 EST 2000


>>>>> "MFS" == Michel Sanner <sanner at scripps.edu> writes:

  MFS> Hi, just waned to mention the when the optional argument
  MFS> |prompt| is used in getpass from the getpass module, the
  MFS> passowrd is echo'ed to the terminal.

  MFS> When the function is called without any argument it works as
  MFS> expected.

  MFS> This was observed with Python1.5.2 on sgi and sun. The PC under
  MFS> windows works as expected.

This is strange.  I do not see the reported behavior on my Sparc.  And
a glance at the code tells me that the prompt argument has no
significant control dependency; if you don't supply a prompt, the
default 'Password:' is used.

Jeremy






More information about the Python-list mailing list