Subject: bug#49822: 28.0.50; python-shell-send functions show no output

From: Andreas Röhler <[email-masked]>
Date: Fri, 13 Aug 2021 18:44:38 +0200

On 13.08.21 13:10, Lars Ingebrigtsen wrote:
> Augusto Stoffel <[email-masked]> writes:
>
>> The specific test described above works for me too.  But the display of
>> a result in the Python shell is very brittle.  For instance, if one
>> evaluates a buffer with contents
>>
>> ```
>> (5
>>   + 5)
>> ```
>>
>> then no result is shown.
> Ah, right -- I can reproduce this, too.
>
Hmm, a buffer is not an interactive shell. Putting a print() around 
should do it.

Whereas in a shell

 >>> (4 +
  5)
... 9

works as expected.