-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Python console is very slow to respond when typing in commands #3533
Comments
Thanks for reporting. I have some questions:
|
I updated spyder through Anaconda. In the Anaconda command promt: conda Just about any code results in the error. I attached a screen shot. Here is import os def do_some_math(a): if name == 'main': http://kbkb-wx.blogspot.com/ Brian On Thu, Oct 13, 2016 at 12:00 PM, Carlos Cordoba notifications@github.com
|
Just out of curiosity: What is the use case for the Python console (as opposed to the IPython console)? I never use it myself. I am wondering whether we should just remove it, or maybe do not show it in the default layout. |
@jitseniesen, my plan was to remove for 3.0 but I didn't have time to do it at the end :-) There are some things that still work better in the Python console:
|
I have also problems with python console. I reported on issue #3623 that I closed by error |
@jitseniesen and @goanpeca, the Python console is working so badly on Windows that I think we should disable it for 3.1 (not remove it, just disable it) and ask our juniors to solve points 2. and 3. for the IPython Console (which are not that hard :-). What do you think? |
@ccordoba12 you know I am in on removing it for good. The only thing we need to get this going is to allow running in a new IPYTHON console in the run preferences, and make sure that process is fast. |
We can't remove it for 3.0 because that'd be a major breakage, but I'm all for removing it for Spyder 4.0 :-)
Yep, that's point |
Agree wholeheartedly. |
If you deactivate the Python console, could you please provide a run option (selectable as default in the preferences) which resets the IPython console namespace before running a script (execute reset -f before runfile(..)). This would help in teaching Python to beginners which I am currently doing using the Python console. Using a dedicated IPython console instead of a dedicated Python console is too slow for my usage case. |
@wtheis, ok, we'll take that into account for 3.1 :-) |
This is (at the end) the same problem as the one on issue #1831, so I'm closing it. |
Description
I ran a script in the python console. After it finished, I continue to type commands in the interpreter , but none of these commands are executed. Even a simple "print a" wouldn't execute. Or, if I reassign a "a=5", the variable value in the variable explorer remains unchanged.
The cursor just moves to the next line with the >>> waiting for the next command.
What steps will reproduce the problem?
What is the expected output? What do you see instead?
I expect it to immediately execute the command within the console, such as return the variable value. The previous spyder version (2.something) didn't have this issue. I just installed spyder version 3.0
Please provide any additional information below
Version and main components
Dependencies
The text was updated successfully, but these errors were encountered: