Skip to content

OSError: [WinError 6] The handle is invalid #1433

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
joaompinto opened this issue May 14, 2021 · 3 comments
Open

OSError: [WinError 6] The handle is invalid #1433

joaompinto opened this issue May 14, 2021 · 3 comments

Comments

@joaompinto
Copy link

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

@wedesoft
Copy link

Yes, joaompinto's commit fixes it for me as well.

@IlyaOrson
Copy link

IlyaOrson commented Oct 3, 2021

Could the fix get merged?

@kylepollina
Copy link

The merge request #1434 still has work to do. The maintainer wants it designed differently

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants