|
From: | Glenn Morris |
Subject: | bug#27154: 25.2; python.el shell does not respect getpass.getpass prompt |
Date: | Wed, 31 May 2017 14:35:20 -0400 |
User-agent: | Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) |
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.
[Prev in Thread] | Current Thread | [Next in Thread] |