-
- Notifications
You must be signed in to change notification settings - Fork 33.6k
Closed
Labels
OS-windowsextension-modulesC modules in the Modules dirC modules in the Modules dirtype-featureA feature request or enhancementA feature request or enhancement
Description
Bug report
Bug description:
import socket sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) sock.setsockopt(socket.IPPROTO_TCP, socket.TCP_QUICKACK, 1) sock.getsockopt(socket.IPPROTO_TCP, socket.TCP_QUICKACK)On windows this throws AttributeError: module 'socket' has no attribute 'TCP_QUICKACK'
Support is for this setting is available on windows, it just isn't implemented in the python runtime. It's implemented for Linux and I believe for Mac as well, though I didn't check the latter.
I'm opening this mostly to track my PR as I already have the fix implemented.
CPython versions tested on:
3.12, CPython main branch
Operating systems tested on:
Linux, Windows
Linked PRs
Metadata
Metadata
Assignees
Labels
OS-windowsextension-modulesC modules in the Modules dirC modules in the Modules dirtype-featureA feature request or enhancementA feature request or enhancement