Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Up arrow history search shows duplicates in Qtconsole #3346

Closed
joonro opened this issue May 21, 2013 · 4 comments
Closed

Up arrow history search shows duplicates in Qtconsole #3346

joonro opened this issue May 21, 2013 · 4 comments
Labels
Milestone

Comments

@joonro
Copy link
Contributor

joonro commented May 21, 2013

I haven't been able to pinpoint when exactly this happens and in which frontend, but I definetly seeing this in QtConsole and %run magic command.

After invoking QtConsole, when I do In [1]: %run and press Up arrow, QtConsole shows the most recent history starting with %run. But the thing is as I press up arrow more, it does not skip duplicate items; for example, if I have done %run test.py for 10 times after %run 2nd_test.py, I have to press up arrow 10 times after [1]: %run to get %run 2nd_test.py.

I am not sure if this only happens with %run, for normal Python commands it seems to be working fine (it skips duplicates).

@astrosilverio
Copy link
Contributor

Tried this and couldn't reproduce it with the lastest ipython master on linux.

@minrk
Copy link
Member

minrk commented Oct 9, 2013

Thanks @astrosilverio.

@minrk minrk closed this as completed Oct 9, 2013
@dashesy
Copy link

dashesy commented Nov 6, 2014

I also have this problem with 1.0.0 exactly with %run

@dashesy
Copy link

dashesy commented Nov 6, 2014

Ok I upgraded my IPython to IPython 2.3.0 it seems to be fixed for the part of history after the upgrade, so I should find a way to de-dupe the old entries in history.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants