Skip to content

Some special characters cannot be typed in python shell on Windows #132913

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

Closed
tkreuzer opened this issue Apr 25, 2025 · 1 comment
Closed

Some special characters cannot be typed in python shell on Windows #132913

tkreuzer opened this issue Apr 25, 2025 · 1 comment
Labels
type-bug An unexpected behavior, bug, or error

Comments

@tkreuzer
Copy link

tkreuzer commented Apr 25, 2025

Bug report

Bug description:

print(f"{x}") # Cannot type this properly
print(things[0]) # Cannot type this properly

The following characters cannot be entered in the python 3.13.x shell on Windows: {, }, [, ].
They are simply ignored (this is with a German keyboard layout on Windows 10, if that is relevant). If you paste code with them, they are missing in the paste. A work-around I randomly found: typing a [ followed by the character you intended, will give you that character.

CPython versions tested on:

3.13

Operating systems tested on:

Windows

@tkreuzer tkreuzer added the type-bug An unexpected behavior, bug, or error label Apr 25, 2025
@picnixz
Copy link
Member

picnixz commented Apr 25, 2025

Closing as a duplicate of #132439.

@picnixz picnixz closed this as completed Apr 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

2 participants