Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

_overlapped module cannot be imported without socket support #131131

Copy link
Copy link
Open
@az0

Description

@az0
Issue body actions

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

No one assigned

    Labels

    Projects

    Status

    In Progress
    Show more project fields

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.