[issue24035] When Caps Locked, Shift + alpha-character still displayed as uppercase

2015-04-25 Thread James
James added the comment: When I start the interpreter with the -S switch, the problem goes away. Thanks for looking into it, and I apologize for the false alarm! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24035

[issue24035] When Caps Locked, Shift + alpha-character still displayed as uppercase

2015-04-25 Thread James
Changes by James james.triv...@gmail.com: -- resolution: - not a bug status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24035 ___

[issue24035] When Caps Locked, Shift + alpha-character still displayed as uppercase

2015-04-25 Thread eryksun
eryksun added the comment: It looks like this is a bug in pyreadlines as suggested by eryksun, but for a different reason. As I said before, it reads keyboard input events at a lower level via ReadConsoleInputW, instead of calling ReadConsoleW to read the input buffer as a text stream. To

[issue24035] When Caps Locked, Shift + alpha-character still displayed as uppercase

2015-04-24 Thread James Edwards
James Edwards added the comment: It looks like this is a bug in pyreadlines as suggested by eryksun, but for a different reason. Even though the Caps Lock + Shift combination is recognized correctly (as lower case), the logic in the pyreadlines module forces it to upper case. See lines 44-45

[issue24035] When Caps Locked, Shift + alpha-character still displayed as uppercase

2015-04-24 Thread James Edwards
James Edwards added the comment: If you start the interactive interpreter with the -S switch, e.g. python.exe -S Do you still see this behavior? -- nosy: +jedwards ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24035

[issue24035] When Caps Locked, Shift + alpha-character still displayed as uppercase

2015-04-23 Thread eryksun
eryksun added the comment: Are you using pyreadline? It's commonly used with IPython. Pyreadline hooks PyOS_ReadlineFunctionPointer to provide readline functionality in the REPL. Since it accesses the console input via ReadConsoleInputW events instead of using ReadConsoleW, it wouldn't

[issue24035] When Caps Locked, Shift + alpha-character still displayed as uppercase

2015-04-23 Thread SilentGhost
Changes by SilentGhost ghost@gmail.com: -- components: +Windows nosy: +paul.moore, steve.dower, tim.golden, zach.ware ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue24035 ___

[issue24035] When Caps Locked, Shift + alpha-character still displayed as uppercase

2015-04-23 Thread Tim Golden
Tim Golden added the comment: Perhaps unsurprisingly, I can't reproduce this on Python 2.7.9 32-bit running on Win7 Home Premium. Python doesn't handle CapsLock/Shift interaction directly: it just gets what it gets from the underlying OS or framework. So I'm at a loss to know what might

[issue24035] When Caps Locked, Shift + alpha-character still displayed as uppercase

2015-04-22 Thread James
New submission from James: Referring to Python 2.7 running on Windows (7/8): At the interactive interpreter, if either 1) Caps are Locked OR 2) Shift is held while an alpha-character is selected, the character is output and displayed as uppercase, as one would expect. However, in Python 2.7,