Is it possible to disable readline in the interactive interpreter?

Paul Moore p.f.moore at gmail.com
Mon Jun 8 20:07:25 CEST 2009


I run Python on Windows. I have the (pure Python) pyreadline package
installed for (occasional) use by IPython. However, when I use the
normal Python interactive prompt, the mere fact that the readline
module exists means that it gets used.

Is there a way of disabling this? (Preferably by default, rather than
on a per-session basis).

I don't want to get into usability arguments, but the standard Windows
command line history and editing is fine for me, and consistency with
other apps is more important in this case than configurability (or any
other benefits of readline). And yes, the default behaviour of
readline *is* different, in small but irritating ways.

Paul.



More information about the Python-list mailing list