Code in python console not executing

Hi,

When I type a python command in the python debug console, when I press Enter I expect the code to execute, instead - it adds a new line in the console.

Note that when I use the keyboard shortcut for "Execute Selection in Python Console" the code is executed as expected. The issue occurs only when attempting to type directly in the console and executing by pressing Enter.

Tried also Shift + Enter (which was used to add a new line in the console in previous versions), Alt + Enter and Ctrl+ Enter but to no avail.

 

Another thing that seems to be related - in the python console the up / down buttons does not bring up the history of the console.

Is this a bug, or am I missing something?

 

Extra info:

PyCharm 2021.1.3

Windows 10 (tried on 2 computers - got same results)

 

 
1 comment
Comment actions Permalink

Hello, 

 

It looks like the following bug https://youtrack.jetbrains.com/issue/PY-49527, The workaround is not to use the floating mode.

I apologize for the inconvenience. 

The fix will be available soon. 

 

1

Please sign in to leave a comment.