| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | | Issue #23618: Refactor internal_select() to prepare socket.connect() for EINTR | Victor Stinner | 2015-03-31 | 1 | -13/+23 | |
| | | | ||||||
| * | | Issue #23618: Refactor the _socket module | Victor Stinner | 2015-03-31 | 1 | -17/+11 | |
| | | | | | | | | | | | * Inline internal_select() function * Rename internal_select_ex() internal_select() | |||||
| * | | Issue #22117: Replace usage of _PyTime_ROUND_UP with _PyTime_ROUND_CEILING | Victor Stinner | 2015-03-30 | 1 | -6/+7 | |
| | | | | | | | | | | | All these functions only accept positive timeouts, so this change has no effect in practice. | |||||
| * | | Issue #22117: Fix usage of _PyTime_AsTimeval() | Victor Stinner | 2015-03-30 | 1 | -6/+2 | |
| | | | | | | | | | | | Add _PyTime_AsTimeval_noraise() function. Call it when it's not possible (or not useful) to raise a Python exception on overflow. | |||||
| * | | Issue #22117: The socket module uses _PyTime_t timestamp for timeouts | Victor Stinner | 2015-03-28 | 1 | -90/+123 | |
| | | | ||||||
| * | | Issue #23618, #22117: refactor socketmodule.c | Victor Stinner | 2015-03-27 | 1 | -83/+113 | |
| | | | | | | | | | | | Move Py_BEGIN_ALLOW_THREADS/Py_END_ALLOW_THREADS inside internal_select_ex() to prepare a switch to the _PyTime_t type and retry syscall on EINTR. | |||||
| * | | Fix compiler warnings: comparison between signed and unsigned numbers | Victor Stinner | 2015-03-20 | 1 | -1/+1 | |
| | | | ||||||
| * | | Issue #23001: Few functions in modules mmap, ossaudiodev, socket, ssl, and | Serhiy Storchaka | 2015-03-20 | 1 | -47/+60 | |
| | | | | | | | | | | | codecs, that accepted only read-only bytes-like object now accept writable bytes-like object too. | |||||
| * | | Issue #23646: Enhance precision of time.sleep() and socket timeout when | Victor Stinner | 2015-03-20 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | | interrupted by a signal Add a new _PyTime_AddDouble() function and remove _PyTime_ADD_SECONDS() macro. The _PyTime_ADD_SECONDS only supported an integer number of seconds, the _PyTime_AddDouble() has subsecond resolution. | |||||
| * | | Fixed GCC version testing. | Serhiy Storchaka | 2015-03-05 | 1 | -2/+2 | |
| | | | ||||||
| * | | Fix "GCC diagnostic" in socketmodule.c | Victor Stinner | 2015-03-05 | 1 | -2/+2 | |
| | | | | | | | | | | | Fix regression of changeset 7c6e3358221a on GCC < 4.4. The _socket module cannot be compiled on "x86 FreeBSD 7.2 3.x" buildbot anymore. | |||||
| * | | Silenced minor GCC warnings. | Serhiy Storchaka | 2015-02-26 | 1 | -0/+7 | |
| | | | ||||||
| * | | Issue #23446: Use PyMem_New instead of PyMem_Malloc to avoid possible integer | Serhiy Storchaka | 2015-02-16 | 1 | -2/+4 | |
| |\ \ | |/ | | | | | overflows. Added few missed PyErr_NoMemory(). | |||||
| | * | Issue #23446: Use PyMem_New instead of PyMem_Malloc to avoid possible integer | Serhiy Storchaka | 2015-02-16 | 1 | -2/+4 | |
| | | | | | | | | | overflows. Added few missed PyErr_NoMemory(). | |||||
| * | | Issue #23285: PEP 475 -- Retry system calls failing with EINTR. | Charles-François Natali | 2015-02-07 | 1 | -112/+127 | |
| | | | ||||||
| * | | Issue #22919: Windows build updated to support VC 14.0 (Visual Studio 2015), ↵ | Steve Dower | 2014-11-22 | 1 | -1/+10 | |
| | | | | | | | | | which will be used for the official 3.5 release. | |||||
| * | | Issue #22581: Use more "bytes-like object" throughout the docs and comments. | Serhiy Storchaka | 2014-12-05 | 1 | -3/+3 | |
| |\ \ | |/ | ||||||
| | * | Issue #22581: Use more "bytes-like object" throughout the docs and comments. | Serhiy Storchaka | 2014-12-05 | 1 | -3/+3 | |
| | | | ||||||
| * | | Issue #22378: socket module: add SO_MARK. | Charles-François Natali | 2014-09-18 | 1 | -0/+3 | |
| | | | ||||||
| * | | Issue #22215: Now ValueError is raised instead of TypeError when str or bytes | Serhiy Storchaka | 2014-09-06 | 1 | -1/+1 | |
| | | | | | | | | | argument contains not permitted null character or byte. | |||||
| * | | Issue #22043: time.monotonic() is now always available | Victor Stinner | 2014-09-02 | 1 | -2/+2 | |
| | | | | | | | | | | | threading.Lock.acquire(), threading.RLock.acquire() and socket operations now use a monotonic clock, instead of the system clock, when a timeout is used. | |||||
| * | | Issue #22218: Fix "comparison between signed and unsigned integers" warnings in | Victor Stinner | 2014-08-17 | 1 | -5/+6 | |
| | | | | | | | | | socketmodule.c. | |||||
| * | | Issue #22127: fix typo. | Martin v. Löwis | 2014-08-05 | 1 | -1/+1 | |
| | | | ||||||
| * | | Issue #22127: Bypass IDNA for pure-ASCII host names (in particular for ↵ | Martin v. Löwis | 2014-08-05 | 1 | -10/+75 | |
| | | | | | | | | | numeric IPs). | |||||
| * | | (Merge 3.4) Fix repr(_socket.socket) on Windows 64-bit: don't fail with | Victor Stinner | 2014-07-26 | 1 | -2/+9 | |
| |\ \ | |/ | | | | | OverflowError on closed socket. repr(socket.socket) already works fine. | |||||
| | * | Fix repr(_socket.socket) on Windows 64-bit: don't fail with OverflowError | Victor Stinner | 2014-07-26 | 1 | -2/+9 | |
| | | | | | | | | | on closed socket. repr(socket.socket) already works fine. | |||||
| * | | Issue #22042: Avoid dangerous C cast in socket.setblocking() | Victor Stinner | 2014-07-23 | 1 | -2/+5 | |
| | | | | | | | | | Avoid cast from (int*) to (u_long*), even if sizeof(int) == sizeof(u_long). | |||||
| * | | Fix typo in socket.getaddrinfo() docstring. | Berker Peksag | 2014-06-30 | 1 | -4/+4 | |
| |\ \ | |/ | | | | | Reported by Krishna Kumar Thakur on docs@. | |||||
| | * | Fix typo in socket.getaddrinfo() docstring. | Berker Peksag | 2014-06-30 | 1 | -4/+4 | |
| | | | | | | | | | Reported by Krishna Kumar Thakur on docs@. | |||||
| * | | All modern compilers provide a offsetof() function | Victor Stinner | 2014-06-03 | 1 | -4/+0 | |
| | | | | | | | | | offsetof() is used directly in many other .c files without any issue. | |||||
| * | | Issue #21455: Add a default backlog to socket.listen(). | Charles-François Natali | 2014-05-22 | 1 | -10/+12 | |
| |/ | ||||||
| * | Issue #10141, Issue 20065: Changed #if to take CAN_RAW into account. | Vinay Sajip | 2014-03-21 | 1 | -1/+1 | |
| | | ||||||
| * | Issue #10141: updated new usages of AF_CAN to be in #ifdef AF_CAN rather ↵ | Vinay Sajip | 2014-03-20 | 1 | -3/+3 | |
| | | | | | than #ifdef HAVE_LINUX_CAN_H to allow compilation on older Linuxes. | |||||
| * | Issue #20065: socketmodule: Fix build error when AF_CAN is defined without the | Charles-François Natali | 2014-02-08 | 1 | -3/+3 | |
| |\ | | | | | | | proper CAN headers. | |||||
| | * | Issue #20065: socketmodule: Fix build error when AF_CAN is defined without the | Charles-François Natali | 2014-02-08 | 1 | -3/+3 | |
| | | | | | | | | | proper CAN headers. | |||||
| * | | merge 3.3 (#20251) | Benjamin Peterson | 2014-01-14 | 1 | -1/+0 | |
| |\ \ | |/ | ||||||
| | * | remove overly strict assertion (closes #20251) | Benjamin Peterson | 2014-01-14 | 1 | -1/+0 | |
| | | | ||||||
| | * | merge 3.2 (#20246) | Benjamin Peterson | 2014-01-14 | 1 | -0/+5 | |
| | |\ | ||||||
| | | * | complain when nbytes > buflen to fix possible buffer overflow (closes #20246) | Benjamin Peterson | 2014-01-14 | 1 | -0/+5 | |
| | | | | ||||||
| * | | | merge 3.3 (#20246) | Benjamin Peterson | 2014-01-14 | 1 | -0/+5 | |
| | | | | ||||||
| * | | | Issue #12837: Silence a Clang compiler warning on OS X. | Brett Cannon | 2014-01-07 | 1 | -1/+15 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | Now makes CPython build without warnings on OS X under Clang with -Wno-unused-value -Wno-empty-body -Qunused-arguments -Wno-deprecated-declarations. Thanks to David Watson for taking an initial stab at a solution. | |||||
| * | | | Issue #16136: Remove VMS support and VMS-related code | Christian Heimes | 2013-12-21 | 1 | -98/+8 | |
| | | | | ||||||
| * | | | Fix broken docstring continuation line for detach(). | Guido van Rossum | 2013-12-04 | 1 | -2/+2 | |
| | | | | ||||||
| * | | | Close #19827: On UNIX, setblocking() and settimeout() methods of socket.socket | Victor Stinner | 2013-12-03 | 1 | -8/+10 | |
| | | | | | | | | | | | | | | | | can now avoid a second syscall if the ioctl() function can be used, or if the non-blocking flag of the socket is unchanged. | |||||
| * | | | add SO_PRIORITY (closes #19802) | Benjamin Peterson | 2013-11-27 | 1 | -0/+3 | |
| | | | | | | | | | | | | | Patch by Claudiu Popa. | |||||
| * | | | Fix sock_recvfrom_guts(): recvfrom() size is limited to an int on Windows, not | Victor Stinner | 2013-11-15 | 1 | -8/+8 | |
| | | | | | | | | | | | | | on other OSes! | |||||
| * | | | Issue #7171: Update syntax to replace MAX in favor of Py_MAX (matching ↵ | Jason R. Coombs | 2013-11-10 | 1 | -1/+5 | |
| | | | | | | | | | | | | | implementation for Unix). | |||||
| * | | | Issue #7171: Add Windows implementation of ``inet_ntop`` and ``inet_pton`` ↵ | Atsuo Ishimoto | 2012-07-16 | 1 | -2/+106 | |
| | | | | | | | | | | | | | to socket module. | |||||
| * | | | Re #18521: remove assignments of variables that are immediately reassigned. | Georg Brandl | 2013-10-14 | 1 | -1/+1 | |
| | | | | ||||||
| * | | | Issue #16201: socket: Use inet_pton()/inet_addr() instead of ad-hoc parsing for | Charles-François Natali | 2013-09-13 | 1 | -17/+52 | |
| | | | | | | | | | | | | | numeric IP addresses. | |||||
