GNU bug report logs - #37828
26.3; python-shell-send-defun doesn't find the (whole) definition

Previous Next

Package: emacs;

Reported by: per <at> starback.se (Per Starbäck)

Date: Sun, 20 Oct 2019 06:39:01 UTC

Severity: normal

Tags: fixed, patch

Found in version 26.3

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Tomas Nordin <tomasn <at> posteo.net>
To: Per Starbäck <per <at> starback.se>, 37828 <at> debbugs.gnu.org
Subject: bug#37828: 26.3; python-shell-send-defun doesn't find the (whole) definition
Date: Thu, 24 Oct 2019 21:21:48 +0200
Hello Per

Per Starbäck <per <at> starback.se> writes:

> With emacs 26.3.
>
> There are two related bugs which makes python-shell-send-defun
> sometimes not send the right contents.
>
> == reproduce the first one ==
>
> $ emacs -Q /tmp/newfile.py
> C-c C-p                         [start python process]
> def foo(): RET                  [define a ...]
> pass RET                        [... python function]
> C-M-x                           [python-shell-send-defun]
>
> In the echo area it says "Sent:    pass..."
> because only that line was sent. Not the whole definition, and the
> function is not defined in the inferior python.

I think this is reported by Bug#30822 and fixed in master.

Best regards
--
Tomas




This bug report was last modified 4 years and 286 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.