[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#28051: 25.2; Multiline Statement Indentation Error in Inferior Pytho
From: |
npostavs |
Subject: |
bug#28051: 25.2; Multiline Statement Indentation Error in Inferior Python Mode |
Date: |
Sat, 19 Aug 2017 10:45:13 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.2.50 (gnu/linux) |
evgeniy.sharapov@gmail.com writes:
> leads to IndentationError once I try to enter multi-line statements in
> the Inferior python mode.
>
> Steps:
>
> 1. Start Emacs
> 2. M-x run-python
> 3. try to enter something simple like
>
> for x in range(10):<RET>
> <TAB>print x<RET>
>
> 4. The following error occurs:
>
> File "<stdin>", line 1
> print x
> ^
> IndentationError: unexpected indent
Does it help if you install pyreadline? From comments in python.el:
;; If your
;; Python installation lacks readline (like CPython for Windows),
;; installing pyreadline (URL `http://ipython.org/pyreadline.html')
;; should suffice. To troubleshoot why you are not getting any
;; completions, you can try the following in your Python shell:
;; >>> import readline, rlcompleter
;; If you see an error, then you need to either install pyreadline or
;; setup custom code that avoids that dependency.
- bug#28051: 25.2; Multiline Statement Indentation Error in Inferior Python Mode, evgeniy . sharapov, 2017/08/11
- bug#28051: Multiline Statement Indentation Error in Inferior Python Mode, Evgeniy Sharapov, 2017/08/11
- bug#28051: Multiline Statement Indentation Error in Inferior Python Mode, Glenn Morris, 2017/08/12
- bug#28051: Multiline Statement Indentation Error in Inferior Python Mode, npostavs, 2017/08/14
- bug#28051: Multiline Statement Indentation Error in Inferior Python Mode, npostavs, 2017/08/21
- bug#28051: Multiline Statement Indentation Error in Inferior Python Mode, npostavs, 2017/08/21
- bug#28051: Multiline Statement Indentation Error in Inferior Python Mode, Dmitry Gutov, 2017/08/27
- bug#28051: Multiline Statement Indentation Error in Inferior Python Mode, npostavs, 2017/08/27
bug#28051: 25.2; Multiline Statement Indentation Error in Inferior Python Mode,
npostavs <=