Fixes: debbugs:18794
* lisp/progmodes/python.el (python-eldoc--get-doc-at-point): Strip
shell output before returning.
+2014-11-16 Fabián Ezequiel Gallina <fgallina@gnu.org>
+
+ * progmodes/python.el (python-eldoc--get-doc-at-point): Strip
+ shell output before returning. (bug#18794)
+
2014-11-16 Dmitry Gutov <dgutov@yandex.ru>
Fix indentation before `!=' and after `+='. Originally reported
(let ((input (or force-input
(python-info-current-symbol t))))
(and input
- (python-shell-send-string-no-output
- (format python-eldoc-string-code input)
- process))))))
+ ;; Prevent resizing the echo area when iPython is
+ ;; enabled. Bug#18794.
+ (python-util-strip-string
+ (python-shell-send-string-no-output
+ (format python-eldoc-string-code input)
+ process)))))))
(defun python-eldoc-function ()
"`eldoc-documentation-function' for Python.