It was removed along with other items for speed (bug#16875),
but doesn't seem to have been causing an issue, and it's useful to
have it there (bug#27154).
* lisp/progmodes/python.el (inferior-python-mode):
Add comint-watch-for-password-prompt to comint-output-filter-functions.
'(ansi-color-process-output
python-shell-comint-watch-for-first-prompt-output-filter
python-pdbtrack-comint-output-filter-function
- python-comint-postoutput-scroll-to-bottom))
+ python-comint-postoutput-scroll-to-bottom
+ comint-watch-for-password-prompt))
(set (make-local-variable 'compilation-error-regexp-alist)
python-shell-compilation-regexp-alist)
(add-hook 'completion-at-point-functions