You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For an intro to Python course I'm teaching, students are instructed to use shift+enter to execute code segments in the REPL. The new Python 3.13 REPL, however, automatically adds indentation on top of the indentation that is being input into the terminal by using shift+enter, and this leads to indentation errors.
Steps to reproduce:
Have code segment with indentation, i.e.
for_inrange(5):
print("hi")
print("hello")
Select segment
Press shift+enter
Observe indentation error
The text was updated successfully, but these errors were encountered:
teuncm
changed the title
Shift+enter unaware of Python 3.13 REPL indentation feature
Shift+enter unaware of Python 3.13 new REPL indentation feature
Oct 17, 2024
Type: Bug
Behaviour
For an intro to Python course I'm teaching, students are instructed to use shift+enter to execute code segments in the REPL. The new Python 3.13 REPL, however, automatically adds indentation on top of the indentation that is being input into the terminal by using shift+enter, and this leads to indentation errors.
Steps to reproduce:
The text was updated successfully, but these errors were encountered: