Compiling python 2.2 with history command line support

Andrew MacIntyre andymac at
Wed Jan 9 03:31:10 EST 2002

On 8 Jan 2002, Chris Reay wrote:

> > I compiled python 2.2 on a debian 2.2 (too) with the curses support but the
> > command line mode has no advanced edition support (history...)
> > What did I miss ?
> You need to download the libreadline (and libreadline_dev?) packages.
> apt-get install or dselect; you know the drill. Then rebuild python,
> of course.

Why do you need to rebuild Python?  Last time I looked the readline
module works fine as a loadable module, and if available is autoloaded.

Andrew I MacIntyre                     "These thoughts are mine alone..."
E-mail: andymac at  | Snail: PO Box 370
        andymac at            |        Belconnen  ACT  2616
Web:        |        Australia

More information about the Python-list mailing list