Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
27fe494d
Commit
27fe494d
authored
Mar 28, 2015
by
Victor Stinner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #22117: The socket module uses _PyTime_t timestamp for timeouts
parent
15ab3ff1
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
124 additions
and
91 deletions
+124
-91
Modules/socketmodule.c
Modules/socketmodule.c
+123
-90
Modules/socketmodule.h
Modules/socketmodule.h
+1
-1
No files found.
Modules/socketmodule.c
View file @
27fe494d
This diff is collapsed.
Click to expand it.
Modules/socketmodule.h
View file @
27fe494d
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment