Subject: Re: bug#27154: 25.2; python.el shell does not respect getpass.getpass prompt

From: [email-masked]
Date: Wed, 31 May 2017 19:48:19 -0400

Glenn Morris <[email-masked]> writes:

> I see comint-watch-for-password-prompt was taken out a few years ago (a6dc66a),
> for performance reasons, https://debbugs.gnu.org/16875 . Though from the
> numbers quoted there, it doesn't look like it was causing any problem.

Yeah, it looks like it was just a casualty of over zeolous streamlining.

Andreas Röhler <[email-masked]> writes:

> Hmm, not working here - see attachment.
>
> Also when typing the password, it is not echoed. Just dots appear in
> minibuffer.

That means it's working.

> BTW comint-watch-for-password-prompt was already in comint mode -
> another add-hook seems redundant.

Yeah, the problem is that python-mode removes it.

> Looks like the inconvenient results from Python itself - see outside-emacs.png

Sure, the filter isn't supposed to prevent your python program from
printing passwords.