[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#44732: 27.1; Inferior Python mode does not correctly display output
From: |
Augusto Stoffel |
Subject: |
bug#44732: 27.1; Inferior Python mode does not correctly display output of ipython3 |
Date: |
Thu, 26 Aug 2021 17:02:54 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) |
On Thu, 26 Aug 2021 at 16:21, Lars Ingebrigtsen <larsi@gnus.org> wrote:
> Augusto Stoffel <arstoffel@gmail.com> writes:
>
>> This is solved by adding the following extra argument to ipython:
>>
>> (setq python-shell-interpreter "ipython3"
>> python-shell-interpreter-args "--simple-prompt")
>
> Should the defaults in python.el be changed?
No, the defaults are good. But there's a pitfall: if you change the
interpreter from "python" to the fancier "ipython", you need to add the
extra "--simple-prompt" argument.