[Python-ideas] History stepping in interactive session?

Antoine Pitrou solipsis at pitrou.net
Fri Oct 5 16:30:00 CEST 2012


On Sat, 06 Oct 2012 00:24:39 +1000
Steven D'Aprano <steve at pearwood.info> wrote:

> On 05/10/12 22:09, Antoine Pitrou wrote:
> > On Fri, 05 Oct 2012 11:27:28 +0200
> > Andy Buckley<andy at insectnation.org>  wrote:
> >> A couple of weeks ago I posted a question on superuser.com about whether
> >> there is a way to get the same *very* convenient
> >> stepping-through-command-history behaviour in an interactive Python
> >> interpreter session as is possible in (at least) the bash shell with the
> >> Ctrl-o keybinding:
> >
> > The interactive interpreter (and I mean the default one, not
> > third-party choices like IPython) uses libreadline for its
> > editing and history functionality, so it's really a question about
> > libreadline you're asking.
> 
> 
> I don't think so. I'm not an expert on readline, but it seems to me to be a
> Python bug.
[snip useful explanations]

Well, if there is a bug, then it should be reported on the tracker (and
a patch uploaded, if possible :-)).

Regards

Antoine.


-- 
Software development and contracting: http://pro.pitrou.net





More information about the Python-ideas mailing list