GNU bug report logs - #27154
25.2; python.el shell does not respect getpass.getpass prompt

Previous Next

Package: emacs;

Reported by: Diego Fernandez <difernan <at> redhat.com>

Date: Tue, 30 May 2017 21:10:01 UTC

Severity: normal

Found in version 25.2

Fixed in version 26.1

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 27154 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: Diego Fernandez <difernan <at> redhat.com>
Cc: 27154 <at> debbugs.gnu.org
Subject: Re: bug#27154: 25.2;
 python.el shell does not respect getpass.getpass prompt
Date: Wed, 31 May 2017 14:35:20 -0400
Diego Fernandez wrote:

> 1. Start emacs
> 2. M-x run-python
> 3. from getpass import getpass; getpass()
> 4. Type in anything
>
> This displays what the user is typing in the shell, but the expected
> behavior is that the text should not be echoed.

Try:
emacs -Q --eval "(add-hook 'inferior-python-mode-hook (lambda () (push
'comint-watch-for-password-prompt comint-output-filter-functions)))" -f run-python

I have no idea whether your usage is common enough that this should be the
default.




This bug report was last modified 7 years and 350 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.