prompt-toolkit / ptpython

A better Python REPL
BSD 3-Clause "New" or "Revised" License
5.23k stars 281 forks source link

`ptipython` ignoring classic prompt setting #556

Closed citizen428 closed 9 months ago

citizen428 commented 1 year ago

It seems I can't get ptipython to use the classic mode, no matter what I try.

It seems everything is configured correctly but it still always starts with ipython style prompts:

❯ ptipython
Exception reporting mode: Plain
Doctest mode is: ON
In [1]: import IPython
In [2]: ip = IPython.get_ipython()
In [3]: ip.prompts
<IPython.terminal.prompts.ClassicPrompts object at 0x108497ad0>

Starting ipython directly shows the classic prompt.

citizen428 commented 9 months ago

@jonathanslenders I'm not sure the README PR resolved this issue, maybe the Resolves #xxxx line at the top was wrong?