[issue41729] test_winconsoleio fails and hangs on Windows

Eryk Sun report at bugs.python.org
Tue Sep 8 01:59:25 EDT 2020


Eryk Sun <eryksun at gmail.com> added the comment:

> Is this line needed with a repeat of 1, or should it be removed? 

It's not documented what it means to write a key event with wRepeatCount set to 0. It happens to work, but I'd leave it set to 1, which means the key was pressed once. Ideally, there should also be a subsequent key-up event that's the same except bKeyDown is FALSE, but test_winconsoleio doesn't need it.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41729>
_______________________________________


More information about the Python-bugs-list mailing list