escape codes in python shell after wl loaded

George Moutsopoulos <[email protected]> Thu, 25 Jan 2018 09:57:28 +0000
Newsgroups gmane.mail.wanderlust.general
Message-ID <CABU1Ay-4m5uV5NUaa6A3g8PCd4A728NdL7ac4b8FS0BekunERQ__3281.76500411264$1516874231$gmane$org@mail.gmail.com>
Hi all,
after loading wl and the running an "Inferior Python" shell, the python
[In] prompts are garbled like
^A^BIn [^A^B1^A^B]: ^A^B
(with color)
instead of
In[1]:
before loading an python shell, there is no problem.

The [Out] python results are not garbled.

There was this bug report that might be related
https://lists.gnu.org/archive/html/bug-gnu-emacs/2010-09/msg00017.html
https://salmabezzir.com/lists/wanderlust/msg01049.html

Any way I can fix this? By the way, I was hoping to use wanderlust to email
with org-mime (htmlizing org-mode structure) and python (org-mode blocks
with results in the email).

GNU Emacs 26.0.50
Melpa wanderlust 20171209

Regards,
George