Skip to content

Dead keys on Windows with German keyboard layout #135105

Closed
@topeterk

Description

@topeterk

Bug report

Bug description:

Cannot type special characters into interactive Python console like { }, [ ] or @

When I want to type in "[" I have to press "[" twice.
When I want to type in "]" I have to press "[" first and then "]" after.
Feels very odd.

Same issue regardless of Windows Terminal, Windows Console Host, Power Shell.
Same issue regardless of on-screen keyboard or PS/2 or USB keyboard.

When I install Python 3.13.1 or 3.13.2 everything is fine, when I install (latest) 3.13.3 it fails.
This makes me assume, the issue is clearly anything within Python and was introduced in version 3.13.3.

I am not the only person with this issue as I found this thread:
https://www.reddit.com/r/learnpython/comments/1kxbztu/cant_type_special_characters_in_python/

Not sure if other keyboard layouts are affected as well but it feels to me it may not only be a German keyboard issue.

CPython versions tested on:

3.13

Operating systems tested on:

Windows

Activity

eendebakpt

eendebakpt commented on Jun 3, 2025

@eendebakpt
Contributor

@topeterk This might have been solved in #132440. Could you try 3.13.4 or a 3.14 pre-release?

added
pendingThe issue will be closed if no feedback is provided
on Jun 4, 2025
topeterk

topeterk commented on Jun 4, 2025

@topeterk
Author

@eendebakpt Tried a bunch of different searches but didn't found your mentioned thread, so: Sorry for this double posted issue.
Yes, indeed, with 3.13.4 from https://www.python.org/ftp/python/3.13.4/python-3.13.4-amd64.exe that I just tested, the issue no longer exists.
From my side, we can close this issue.
Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    pendingThe issue will be closed if no feedback is providedtopic-replRelated to the interactive shelltype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Dead keys on Windows with German keyboard layout · Issue #135105 · python/cpython

      Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

      Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant