Commit 27fe494d authored by Victor Stinner's avatar Victor Stinner

Issue #22117: The socket module uses _PyTime_t timestamp for timeouts

parent 15ab3ff1
This diff is collapsed.
...@@ -174,7 +174,7 @@ typedef struct { ...@@ -174,7 +174,7 @@ typedef struct {
PyObject *(*errorhandler)(void); /* Error handler; checks PyObject *(*errorhandler)(void); /* Error handler; checks
errno, returns NULL and errno, returns NULL and
sets a Python exception */ sets a Python exception */
double sock_timeout; /* Operation timeout in seconds; _PyTime_t sock_timeout; /* Operation timeout in seconds;
0.0 means non-blocking */ 0.0 means non-blocking */
} PySocketSockObject; } PySocketSockObject;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment