[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#23678: 24.5; Python auto-completion breaks inferior-python mode
From: |
npostavs |
Subject: |
bug#23678: 24.5; Python auto-completion breaks inferior-python mode |
Date: |
Sun, 16 Jul 2017 21:15:16 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.2.50 (gnu/linux) |
tags 23678 fixed
close 23678 25.2
quit
jay malby <qwe12345678910@gmail.com> writes:
> When running a python interpreter in inferior-python mode,
> sometimes calling auto-completion with C-M-i on an indented
> line causes the underlying python interpreter to get confused,
> leading it to produce an unexpected indent error.
>
> Steps to reproduce:
> 1. Start emacs with a blank config
> 2. run-python
> 3. run this code, performing auto-completion (C-M-i) between the "5"
> and ":" on line 2:
> for i in range(10):
> if i < 5:
> print(i)
>
> Python will break after hitting enter on the second line, reporting an
> unexpected indent. The same code without the C-M-i will run fine,
> printing the integers between 0 and 4 (inclusive).
Seems to be fixed with the "native" completion in 25.2.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#23678: 24.5; Python auto-completion breaks inferior-python mode,
npostavs <=