Commit 6f8fe0d5 authored by Andrii Kolomoiets's avatar Andrii Kolomoiets Committed by Noam Postavsky

Make python-shell-prompt-block-regexp match IPython prompt

* lisp/progmodes/python.el (python-shell-prompt-block-regexp): Match
also IPython's multiline prompt.  It allows to correctly disable
non-native completions during multiline statement in
inferior-python-mode that runs IPython interpreter (Bug#34582).

Copyright-paperwork-exempt: yes
parent 6fe81676
Pipeline #1319 failed with stage
in 49 minutes and 38 seconds
......@@ -2003,7 +2003,7 @@ position, else returns nil."
It should not contain a caret (^) at the beginning."
:type 'string)
(defcustom python-shell-prompt-block-regexp "\\.\\.\\. "
(defcustom python-shell-prompt-block-regexp "\\.\\.\\.:? "
"Regular expression matching block input prompt of Python shell.
It should not contain a caret (^) at the beginning."
:type 'string)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment