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

Shift+enter unaware of Python 3.13 new REPL indentation feature #24317

Closed
teuncm opened this issue Oct 17, 2024 · 1 comment
Closed

Shift+enter unaware of Python 3.13 new REPL indentation feature #24317

teuncm opened this issue Oct 17, 2024 · 1 comment
Assignees
Labels
triage-needed Needs assignment to the proper sub-team

Comments

@teuncm
Copy link

teuncm commented 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:

  1. Have code segment with indentation, i.e.
for _ in range(5):
    print("hi")
    print("hello")
  1. Select segment
  2. Press shift+enter
  3. Observe indentation error
@github-actions github-actions bot added the triage-needed Needs assignment to the proper sub-team label Oct 17, 2024
@teuncm 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
@anthonykim1 anthonykim1 self-assigned this Oct 17, 2024
@anthonykim1
Copy link

Hello @teuncm Thank you for filing this issue. Looks like duplicate of #24256. lets track it there.

@anthonykim1 anthonykim1 closed this as not planned Won't fix, can't repro, duplicate, stale Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage-needed Needs assignment to the proper sub-team
Projects
None yet
Development

No branches or pull requests

2 participants