[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] python.el: Returning inferior Python output without inhibiti
From: |
Jack Kamm |
Subject: |
Re: [PATCH] python.el: Returning inferior Python output without inhibiting it |
Date: |
Sun, 15 Oct 2023 17:27:45 -0700 |
Eli Zaretskii <eliz@gnu.org> writes:
> Thanks. I will wait for a few days to give others a chance to chime
> in and post comments or suggestions, and will install this after that,
> barring any objections.
Since submitting this patch, I started to have doubts that
`python-shell-send-string-maybe-output' is suitable for ob-python.
So, I suggest not to merge this after all, since ob-python was the main
motivating use case.
The reason is that `python-shell-send-string-no-output' can end
prematurely if the output contains a substring that looks like a prompt,
and ob-python should remain robust to this edge case -- it's not too
far-fetched that some user code executed by ob-python would produce a
substring like ">>>".