Open
Description
Bug report
Bug description:
To reproduce, boot Windows 11 into minimal safe mode and run this
import asyncio
It causes this error
Traceback (most recent call last):
File "C:\projects\asyncio_test_safe_mode.py", line 1, in <module>
import asyncio
File "c:\python\Lib\asyncio\__init__.py", line 42, in <module>
from .windows_events import *
File "c:\python\Lib\asyncio\windows_events.py", line 8, in <module>
import _overlapped
OSError: [WinError 10050] A socket operation encountered a dead network
System information:
- Python 3.11.10 (main, Feb 17 2025, 07:07:12) [MSC v.1942 32 bit (Intel)] on win32
- Microsoft Windows 11 64-bit 23H2 22631.4890
The greater context is that it breaks PyGObject and BleachBit.
CPython versions tested on:
3.11
Operating systems tested on:
Windows
Metadata
Metadata
Assignees
Labels
C modules in the Modules dirC modules in the Modules dirAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Projects
Status
In Progress