python-mode issueshttps://gitlab.com/python-mode-devs/python-mode/-/issues2018-07-08T14:14:00Zhttps://gitlab.com/python-mode-devs/python-mode/-/issues/50IPython output broken with python-mode2018-07-08T14:14:00ZJaan AltosaarIPython output broken with python-modeIn my init.el I have the following:
```
(setq
python-shell-interpreter "ipython"
python-shell-interpreter-args "--simple-prompt --classic --nosep"
)
```
This leads to broken output. Commands like `next-error` do not work, because `pyt...In my init.el I have the following:
```
(setq
python-shell-interpreter "ipython"
python-shell-interpreter-args "--simple-prompt --classic --nosep"
)
```
This leads to broken output. Commands like `next-error` do not work, because `python-mode` does not parse the IPython output correctly:
```
print('test printing')
print('test bug' % 5)
-UUU:**--F1 test.py All L2 (Python Helm ElDoc Wrap) -----------------------------------
Python 3.6.5 |Anaconda custom (64-bit)| (default, Apr 26 2018, 08:42:37)
Type 'copyright', 'credits' or 'license' for more information
IPython 6.4.0 -- An enhanced Interactive Python. Type '?' for help.
>>> test printing
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-1-5a0f8ffd930f> in <module>()
----> 1 import codecs, os;__pyfile =
codecs.open('''/var/folders/qr/s_h2rhqj6kdg8qrj0zw2scnw0000gn/T/pyoOwLZf''',
encoding='''utf-8''');__code =
__pyfile.read().encode('''utf-8''');__pyfile.close();os.remove('''/var/folders/qr/s_h2rhqj6kdg8qrj\
0zw2scnw0000gn/T/pyoOwLZf''');exec(compile(__code, '''/tmp/test.py''', 'exec'));
/tmp/test.py in <module>()
TypeError: not all arguments converted during string formatting
>>>
```
(I want to use this to be able to use the autoreload magic in ipython, to avoid reloading changed modules when debugging. This is complicated using python instead of ipython.)