[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#37828: 26.3; python-shell-send-defun doesn't find the (whole) defini
From: |
Tomas Nordin |
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@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