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
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
___
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
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
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
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
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
___
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
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,