mirror of
https://github.com/python/cpython.git
synced 2025-11-25 04:34:37 +00:00
Issue #22117: The socket module uses _PyTime_t timestamp for timeouts
This commit is contained in:
parent
95e9cef6f0
commit
71694d5c8c
2 changed files with 123 additions and 90 deletions
|
|
@ -174,7 +174,7 @@ typedef struct {
|
|||
PyObject *(*errorhandler)(void); /* Error handler; checks
|
||||
errno, returns NULL and
|
||||
sets a Python exception */
|
||||
double sock_timeout; /* Operation timeout in seconds;
|
||||
_PyTime_t sock_timeout; /* Operation timeout in seconds;
|
||||
0.0 means non-blocking */
|
||||
} PySocketSockObject;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue