[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#55174: python-shell-send-statement in python.el sends malformed code
From: |
Lars Ingebrigtsen |
Subject: |
bug#55174: python-shell-send-statement in python.el sends malformed code |
Date: |
Fri, 29 Apr 2022 12:21:37 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Jin Choi <jsc@alum.mit.edu> writes:
> This works when no-cookie is false, because it *deletes the cookie
> line*, incidentally negating any benefit the coding cookie was
> supposed to provide. It fails when an indented statement is sent and
> no-cookie is true, because the first line IS the line to be
> sent. Either it gets deleted entirely, or if it is a multiline
> statement, the first line is replaced with the “if True:”.
You don't say what Emacs version this is about?
Anyway, if it's about a current Emacs, could you propose a patch to fix
these issues?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no