[issue31546] PyOS_InputHook is not called when waiting for input() in Windows

2017-10-23 Thread Lam Yuen Hei
Lam Yuen Hei <lamyuen...@gmail.com> added the comment: As the fix seems simple, any chance this bug can be fixed in next python 3.6 maintenance release? It is the major roadblock for my application to upgrade to python 3.6. Thanks -- ___

[issue31546] PyOS_InputHook is not called when waiting for input() in Windows

2017-09-21 Thread Lam Yuen Hei
Lam Yuen Hei added the comment: Attach python 3.6 call stack of the test script -- Added file: https://bugs.python.org/file47162/py36_call_stack.png ___ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/i

[issue31546] PyOS_InputHook is not called when waiting for input() in Windows

2017-09-21 Thread Lam Yuen Hei
Lam Yuen Hei added the comment: Attach python 3.5 call stack of the test script -- Added file: https://bugs.python.org/file47161/py35_call_stack.png ___ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/i

[issue31546] PyOS_InputHook is not called when waiting for input() in Windows

2017-09-21 Thread Lam Yuen Hei
New submission from Lam Yuen Hei: Since python 3.6, PyOS_InputHook is not called when waiting for IO in Windows. This causes issues with GUI framework like tkinter that relys on PyOS_InputHook to handle user interaction. I attached a test script. When running the script with python 3.5