Open joaompinto opened 3 years ago
Yes, joaompinto's commit fixes it for me as well.
Could the fix get merged?
The merge request https://github.com/prompt-toolkit/python-prompt-toolkit/pull/1434 still has work to do. The maintainer wants it designed differently
Running on Windows 10
$ python -V Python 3.8.4
$ ptpython -V 3.0.17
$ ptpython
print("ok") Cancelling an overlapped future failed future: <_OverlappedFuture pending overlapped=<pending, 0x235e16bedc0> cb=[BaseProactorEventLoop._loop_self_reading()]> Traceback (most recent call last): File "c:\users\lameg\appdata\local\programs\python\python38\lib\asyncio\windows_events.py", line 66, in _cancel_overlapped self._ov.cancel() OSError: [WinError 6] The handle is invalid ok