prompt-toolkit / ptpython

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

ptipython doesn't honor prompt_style = 'classic' #191

Open kernc opened 7 years ago

kernc commented 7 years ago

ptipython doesn't honor setting repl.prompt_style = 'classic' in config.py.

Use case: want to use ipython's extended features (i.e. magics), but have the prompt still look simple >>> and with easily copypastable output.

kernc commented 7 years ago

Even when ptipython is set to ipython style, it doesn't honor IPython's %doctest_mode magic.

yangle commented 6 years ago

Commenting out this line should solve your problem. (Not sure why the override is there in the first place.)