View Single Post
Old 02-19-2026, 06:21 PM   #103
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 29,134
Karma: 211348980
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by KevinH View Post
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!
DiapDealer is offline   Reply With Quote