Browse history in IPython console after running script is not working
See original GitHub issueI cannot reproduce that in iPython alone: if you really think it’s a problem in iPythonm redirect me there.
Description of your problem
Now try to go back in the history with the arrows: What steps will reproduce the problem?
- Do stuff in the IPython console. For instance:
In [0]: A = [1,2.3]; print(len(A))
- Run a script by clicking the “Play” icon.
In [1]: runfile('/home/myhome/Projects/python/spam.py', wdir='/home/myhome/Projects/python')
- Try to repeat the command of
In [0]by moving with the keyboard arrows: You get stuck in the runfile command and must delete it first before going to the previous history.
What is the expected output? What do you see instead? I would expect it to work like if you just write in the console, arrows only move in history, not within the string.
Versions and main components
- Spyder Version: 2.39
- Python Version: 3.4.2
- Operating system: Debian Jessie
Dependencies
Please go to the menu entry Help > Optional Dependencies (or
Help > Dependencies), press the button Copy to clipboard
and paste the contents below:
IPython >=1.0 : 4.2.0 (OK) jedi >=0.8.1;<0.9.0: 0.9.0 (NOK) matplotlib >=1.0 : 1.5.1 (OK) pandas >=0.13.1 : 0.18.1 (OK) pep8 >=0.6 : 1.7.0 (OK) psutil >=0.3 : 4.2.0 (OK) pyflakes >=0.6.0 : 1.2.3 (OK) pygments >=1.6 : 2.1.3 (OK) pylint >=0.25 : 1.5.6 (OK) qtconsole >=4.0 : 4.2.1 (OK) rope >=0.9.2 : 0.10.3 (OK) sphinx >=0.6.6 : 1.4.3 (OK) sympy >=0.7.3 : 1.0 (OK) zmq >=2.1.11 : 15.2.0 (OK)
Issue Analytics
- State:
- Created 7 years ago
- Comments:13 (6 by maintainers)

Top Related StackOverflow Question
Closing as there’s nothing else we can do on the Spyder side.
Thanks Carlos and Maria Camila for looking into this even if it is not a bug in spyder. As a user, I really appreciate it.