Make python.el work with IPython automatically.
commitb06a0dff84b2ec6b32e5740c17d595f6874e884f
authorFabián Ezequiel Gallina <fgallina@gnu.org>
Sun, 20 Jul 2014 18:12:30 +0000 (20 15:12 -0300)
committerFabián Ezequiel Gallina <fgallina@gnu.org>
Sun, 20 Jul 2014 18:12:30 +0000 (20 15:12 -0300)
treee5d930815db4de04d665780e1a0979b2a147efc3
parent880b716696b4d8737e7199d6487f17b7e6825dd4
Make python.el work with IPython automatically.

* lisp/progmodes/python.el:
(python-shell-completion-setup-code): New value supporting iPython.
(python-shell-completion-string-code): New value supporting iPython.
(python-shell-completion-get-completions): Use them.
(python-shell-completion-module-string-code): Make obsolete.
(python-shell-prompt-input-regexps)
(python-shell-prompt-output-regexps): Add safeguard for ipdb.
(python-shell-output-filter): Fix comment typo.

* test/automated/python-tests.el:
(python-util-clone-local-variables-1): Fix test.

Fixes: debbugs:15510
etc/NEWS
lisp/ChangeLog
lisp/progmodes/python.el
test/ChangeLog
test/automated/python-tests.el