Quote:
Originally Posted by KevinH
And this is a known bug in Python 3.11.X and later. The async windows_events.py file imports the _overlapped module which has the following bug report about it:
https://github.com/python/cpython/issues/131131
I can not tell if this will ever be fixed based on the discussion as cpython people keep pointing toward other module authors.
So we were best off removing all use of pdb until asyncio and/or _overlapped are fixed if ever. Not even a loopback socket can be opened / works when Windows is in Safe mode, so the asyncio code uses loops that use loopback sockets and they will not work.
|
Wow! So merely trying to import _overlapped in Windows minimal safe mode will cause the error? I sure don't understand the logic that would place the responsibility for this anywhere but on cpython. It's a built-in module and it can be used by other code in situations where networking is not relevant. Fix it.
Oh well. Let me do some testing. Thanks for tracking that bug down!