Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #23834: Fix socket.sendto(), use the C Py_ssize_t type to store the | Victor Stinner | 2015-04-02 | 1 | -1/+2 |
| | | | | result of sendto() instead of the C int type. | ||||
* | remove assignment in conditional | Benjamin Peterson | 2015-04-01 | 1 | -1/+2 |
| | |||||
* | 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 #22581: Use more "bytes-like object" throughout the docs and comments. | Serhiy Storchaka | 2014-12-05 | 1 | -3/+3 |
| | |||||
* | 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. | ||||
* | Fix typo in socket.getaddrinfo() docstring. | Berker Peksag | 2014-06-30 | 1 | -4/+4 |
| | | | | Reported by Krishna Kumar Thakur on docs@. | ||||
* | 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. | ||||
* | | | Use INADDR_BROADCAST instead of hard-coded value (it's part of POSIX and | Charles-François Natali | 2013-08-31 | 1 | -1/+1 |
| | | | | | | | | | | | | already appears without #ifdef a couple lines above). | ||||
* | | | Issue #18571: Implementation of the PEP 446: file descriptors and file handles | Victor Stinner | 2013-08-27 | 1 | -22/+189 |
| | | | | | | | | | | | | | | | are now created non-inheritable; add functions os.get/set_inheritable(), os.get/set_handle_inheritable() and socket.socket.get/set_inheritable(). | ||||
* | | | Issue #18783: Removed existing mentions of Python long type in docstrings, | Serhiy Storchaka | 2013-08-27 | 1 | -4/+4 |
|\ \ \ | |/ / | | | | | | | error messages and comments. | ||||
| * | | Issue #18783: Removed existing mentions of Python long type in docstrings, | Serhiy Storchaka | 2013-08-27 | 1 | -4/+4 |
| | | | | | | | | | | | | error messages and comments. | ||||
* | | | Issue #18549: Eliminate dead code in socket_ntohl(). | Christian Heimes | 2013-07-25 | 1 | -2/+0 |
|\ \ \ | |/ / | | | | | | | CID 982369 | ||||
| * | | Issue #18549: Eliminate dead code in socket_ntohl(). | Christian Heimes | 2013-07-25 | 1 | -2/+0 |
| | | | | | | | | | | | | CID 982369 | ||||
* | | | If MS_WIN64 is defined, MS_WINDOWS is also defined: #ifdef can be simplified. | Victor Stinner | 2013-06-24 | 1 | -4/+4 |
| | | | |||||
* | | | Issue #9566: recv(), recvfrom(), send(), sendall() and sendto() methods | Victor Stinner | 2013-06-24 | 1 | -5/+32 |
| | | | | | | | | | | | | | | | | | | | | | of socket.socket objects now truncate the input buffer to INT_MAX bytes on Windows to avoid an integer overflow. (sendall() still send the whole buffer.) | ||||
* | | | Issue #18259: Declare sethostname in socketmodule.c for AIX | Christian Heimes | 2013-06-19 | 1 | -0/+5 |
|\ \ \ | |/ / | |||||
| * | | Issue #18259: Declare sethostname in socketmodule.c for AIX | Christian Heimes | 2013-06-19 | 1 | -0/+5 |
| | | | |||||
* | | | (3.3->default) Ensure that the fix for #17269 also works on OSX 10.4 | Ronald Oussoren | 2013-06-10 | 1 | -1/+1 |
|\ \ \ | |/ / | | | | | | | AI_NUMERICSERV isn't defined on OSX 10.4. | ||||
| * | | Ensure that the fix for #17269 also works on OSX 10.4 | Ronald Oussoren | 2013-06-10 | 1 | -1/+1 |
| | | | | | | | | | | | | AI_NUMERICSERV isn't defined on OSX 10.4. | ||||
* | | | Reuse Py_MIN and Py_MAX macros: remove duplicate MIN/MAX macros | Victor Stinner | 2013-06-04 | 1 | -5/+2 |
| | | | | | | | | | | | | multiprocessing.h: remove unused MIN and MAX macros | ||||
* | | | (Merge 3.3) Close #18109: os.uname() now decodes fields from the locale | Victor Stinner | 2013-06-03 | 1 | -8/+8 |
|\ \ \ | |/ / | | | | | | | | | | encoding, and socket.gethostname() now decodes the hostname from the locale encoding, instead of using the UTF-8 encoding in strict mode. | ||||
| * | | Close #18109: os.uname() now decodes fields from the locale encoding, and | Victor Stinner | 2013-06-03 | 1 | -8/+8 |
| | | | | | | | | | | | | | | | socket.gethostname() now decodes the hostname from the locale encoding, instead of using the UTF-8 encoding in strict mode. | ||||
* | | | (3.3->default) Issue #17269: Workaround for a platform bug in getaddrinfo on OSX | Ronald Oussoren | 2013-05-24 | 1 | -0/+9 |
|\ \ \ | |/ / | | | | | | | | | | Without this patch socket.getaddrinfo crashed when called with some unusual argument combinations. | ||||
| * | | Issue #17269: Workaround for a platform bug in getaddrinfo on OSX | Ronald Oussoren | 2013-05-24 | 1 | -0/+9 |
| | | | | | | | | | | | | | | | Without this patch socket.getaddrinfo crashed when called with some unusual argument combinations. | ||||
* | | | Fix issue #17996: expose socket.AF_LINK constant on BSD and OSX. | Giampaolo Rodola' | 2013-05-21 | 1 | -0/+3 |
| | | | |||||
* | | | Backed out changeset c0f2b038fc12 | Charles-François Natali | 2013-05-21 | 1 | -1/+1 |
| | | | |||||
* | | | Issue #17683: socket module: return AF_UNIX addresses in Linux abstract | Charles-François Natali | 2013-05-21 | 1 | -1/+1 |
| | | | | | | | | | | | | namespace as string. | ||||
* | | | Issue #17917: Use PyModule_AddIntMacro() instead of PyModule_AddIntConstant() | Charles-Francois Natali | 2013-05-20 | 1 | -329/+321 |
| | | | | | | | | | | | | when applicable. | ||||
* | | | merge 3.3 | Benjamin Peterson | 2013-05-16 | 1 | -1/+2 |
|\ \ \ | |/ / | |||||
| * | | C89 declaration compliance | Benjamin Peterson | 2013-05-16 | 1 | -1/+2 |
| | | | |||||
* | | | Merge with 3.3, issue #17047: remove doubled words added in 3.3, | Terry Jan Reedy | 2013-03-11 | 1 | -1/+1 |
|\ \ \ | |/ / | | | | | | | as reported by Serhiy Storchaka and Matthew Barnett. | ||||
| * | | Issue #17047: remove doubled words added in 3.3 | Terry Jan Reedy | 2013-03-11 | 1 | -1/+1 |
| | | | | | | | | | | | | as reported by Serhiy Storchaka and Matthew Barnett. |