Subject: Re: bug#28051: 25.2; Multiline Statement Indentation Error in Inferior Python Mode

From: [email-masked]
Date: Fri, 25 Aug 2017 08:20:33 -0400

Evgeniy Sharapov <[email-masked]> writes:

> I have pyreadline installed. It does help in a sense that completion
> works then in the inferior python mode, although I get following
> *Warning* buffer
>
> Warning (python): Python shell prompts cannot be detected.

Ah, this is Bug#21376, you could try applying the patch at
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=21376#11.

> Python 2.7.13 (v2.7.13:a06454b1afa1, Dec 17 2016, 20:53:40) [MSC v.1500 64

Alternatively, since that bug appers to only occur with Python 2, you
could try using Python 3 instead.