| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Fix a possible reference leak in _socket.getaddrinfo(). (GH-10543) | Miss Islington (bot) | 2018-11-15 | 1 | -2/+4 |
| | | | | | | | "single" needs to be decrefed if PyList_Append() fails. (cherry picked from commit 4c596d54aa6a55e9d2a3db78891e656ebbfb63c8) Co-authored-by: Zackery Spytz <zspytz@gmail.com> | ||||
| * | [2.7] bpo-34234: Use _PyAnyInt_Check() and _PyAnyInt_CheckExact(). (GH-8479) | Serhiy Storchaka | 2018-07-31 | 1 | -1/+1 |
| | | |||||
| * | [2.7] bpo-31927: Fix reading arbitrary data when parse a AF_BLUETOOTH ↵ | Serhiy Storchaka | 2017-11-09 | 1 | -42/+42 |
| | | | | | | | | address (GH-4235) (GH-4352) (#4355) on NetBSD and DragonFly BSD. (cherry picked from commit d3187158c09cf899e9849f335bdff10594209167). (cherry picked from commit 596286f8f3c8e53ef010d6298464775dc900a515) | ||||
| * | Issue #28000: Fix gethostbyname_r() usage on AIX with _LINUX_SOURCE_COMPAT | Martin Panter | 2016-11-14 | 1 | -1/+3 |
| | | | | | Patch by Matthieu S. | ||||
| * | Silenced compiler warnings. | Serhiy Storchaka | 2016-10-08 | 1 | -4/+4 |
| | | |||||
| * | Issue #28139: Fix messed up indentation | Martin Panter | 2016-09-17 | 1 | -5/+6 |
| | | | | | | Also update the classmethod and staticmethod doc strings and comments to match the RST documentation. | ||||
| * | initialize variable to appease gcc | Benjamin Peterson | 2016-07-07 | 1 | -1/+1 |
| | | |||||
| * | Issue #26406: Avoid unnecessary serialization of getaddrinfo(3) calls on | Ned Deily | 2016-02-23 | 1 | -5/+11 |
| | | | | | current versions of OpenBSD and NetBSD. Patch by A. Jesse Jiryu Davis. | ||||
| * | Issue #25924: Avoid unnecessary serialization of getaddrinfo(3) calls on OS X | Ned Deily | 2016-02-15 | 1 | -2/+18 |
| | | | | | versions 10.5 or higher. Original patch by A. Jesse Jiryu Davis. | ||||
| * | Issue #24684: socket.socket.getaddrinfo() now calls | Victor Stinner | 2015-09-11 | 1 | -1/+1 |
| | | | | | | | | PyUnicode_AsEncodedString() instead of calling the encode() method of the host, to handle correctly custom unicode string with an encode() method which doesn't return a byte string. The encoder of the IDNA codec is now called directly instead of calling the encode() method of the string. | ||||
| * | Issue #23834: Fix socket.sendto(), use the C long type to store the result of | Victor Stinner | 2015-04-02 | 1 | -1/+2 |
| | | | | | sendto() instead of the C int type. | ||||
| * | remove assignment in conditional | Benjamin Peterson | 2015-04-01 | 1 | -1/+2 |
| | | |||||
| * | make _socket.socket weakrefable (closes #22569) | Benjamin Peterson | 2014-10-06 | 1 | -1/+4 |
| | | | | | Patch from Alex Gaynor. | ||||
| * | Fix repr(_socket.socket) on Windows 64-bit: don't fail with OverflowError | Victor Stinner | 2014-07-26 | 1 | -2/+9 |
| | | | | | on closed socket. | ||||
| * | socketmodule.c: backport INVALID_SOCKET from Python 3.5 to simplify the code | Victor Stinner | 2014-07-26 | 1 | -14/+5 |
| | | |||||
| * | remove overly strict assertion (closes #20251) | Benjamin Peterson | 2014-01-14 | 1 | -1/+0 |
| | | |||||
| * | complain when nbytes > buflen to fix possible buffer overflow (closes #20246) | Benjamin Peterson | 2014-01-14 | 1 | -0/+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. | ||||
| * | 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 #9090 : Take the same approach for socketmodule as daytimemodule | Kristján Valur Jónsson | 2013-03-19 | 1 | -23/+4 |
| | | | | | | when it needs support from timemodule (which is a .so on linux): link in timemodule.c for the required functions. | ||||
| * | issue #9090 : Limit the fix to windows since getting a portable simple | Kristján Valur Jónsson | 2013-03-19 | 1 | -1/+20 |
| | | | | | time function on non-windows isn't quite simple. | ||||
| * | Issue #9090 : Error code 10035 calling socket.recv() on a socket with a timeout | Kristján Valur Jónsson | 2013-03-19 | 1 | -15/+89 |
| | | | | | | (WSAEWOULDBLOCK - A non-blocking socket operation could not be completed immediately) | ||||
| * | Issue #15989: Fix several occurrences of integer overflow | Serhiy Storchaka | 2013-01-19 | 1 | -3/+3 |
| | | | | | | | | when result of PyInt_AsLong() or PyLong_AsLong() narrowed to int without checks. This is a backport of changesets 13e2e44db99d and 525407d89277. | ||||
| * | #8853: Allow port to be of type long for socket.getaddrinfo() | Petri Lehtinen | 2012-12-20 | 1 | -3/+7 |
| | | |||||
| * | Modules/socketmodule.c: netdb_lock: define static. | Matthias Klose | 2012-08-14 | 1 | -1/+1 |
| | | |||||
| * | Remove useless test (flowinfo is unsigned). | Charles-François Natali | 2012-06-23 | 1 | -2/+2 |
| | | |||||
| * | Issue #9975: socket: Fix incorrect use of flowinfo and scope_id. Patch by | Charles-François Natali | 2012-01-02 | 1 | -8/+21 |
| | | | | | Vilmos Nebehaj. | ||||
| * | Issue #12287: Fix a stack corruption in ossaudiodev module when the FD is | Charles-François Natali | 2011-08-28 | 1 | -8/+4 |
| | | | | | greater than FD_SETSIZE. | ||||
| * | #12725: fix working. Patch by Ben Hayden. | Ezio Melotti | 2011-08-14 | 1 | -3/+3 |
| | | |||||
| * | Issue #8498: In socket.accept(), allow to specify 0 as a backlog value in | Antoine Pitrou | 2011-05-10 | 1 | -4/+7 |
| | | | | | order to accept exactly one connection. Patch by Daniel Evers. | ||||
| * | #10169: Fix argument parsing in socket.sendto() to avoid error masking. | Ezio Melotti | 2011-05-07 | 1 | -5/+15 |
| | | |||||
| * | #11565: Fix several typos. Patch by Piotr Kasprzyk. | Ezio Melotti | 2011-03-16 | 1 | -8/+8 |
| | | |||||
| * | Merged revisions 85868 via svnmerge from | Antoine Pitrou | 2010-10-27 | 1 | -12/+28 |
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r85868 | antoine.pitrou | 2010-10-27 22:13:57 +0200 (mer., 27 oct. 2010) | 3 lines Issue #8852: Allow the socket module to build on OpenSolaris. ........ | ||||
| * | Merged revisions 85586-85587,85596-85598 via svnmerge from | Gregory P. Smith | 2010-10-17 | 1 | -2/+25 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r85586 | gregory.p.smith | 2010-10-16 17:17:24 -0700 (Sat, 16 Oct 2010) | 2 lines fix for netbsd. ........ r85587 | gregory.p.smith | 2010-10-16 17:43:10 -0700 (Sat, 16 Oct 2010) | 3 lines applying netbsd-wizs-mod.patch from issue5510 - fixes for netbsd (and dragonflybsd?) ........ r85596 | gregory.p.smith | 2010-10-16 19:14:36 -0700 (Sat, 16 Oct 2010) | 6 lines Fix multiprocessing Semaphore's on netbsd5. SEM_VALUE_MAX is defined as (~0U) on NetBSD which was causing it to appear as -1 when used as a signed int for _multprocessing.SemLock.SEM_VALUE_MAX. This works around the problem by substituting INT_MAX on systems where it appears negative when used as an int. ........ r85597 | gregory.p.smith | 2010-10-16 19:57:19 -0700 (Sat, 16 Oct 2010) | 2 lines skip test_itimer_virtual on NetBSD to prevent the test suite from hanging. ........ r85598 | gregory.p.smith | 2010-10-16 20:09:12 -0700 (Sat, 16 Oct 2010) | 2 lines Avoid hanging the test on netbsd5. ........ | ||||
| * | Merged revisions 85404 via svnmerge from | Gregory P. Smith | 2010-10-13 | 1 | -1/+1 |
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r85404 | gregory.p.smith | 2010-10-12 20:39:47 -0700 (Tue, 12 Oct 2010) | 2 lines fix compliation on NetBSD ........ | ||||
| * | Merged revisions 85032 via svnmerge from | Antoine Pitrou | 2010-09-27 | 1 | -23/+25 |
| | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r85032 | antoine.pitrou | 2010-09-27 19:52:25 +0200 (lun., 27 sept. 2010) | 6 lines Issue #9950: Fix socket.sendall() crash or misbehaviour when a signal is received. Now sendall() properly calls signal handlers if necessary, and retries sending if these returned successfully, including on sockets with a timeout. ........ | ||||
| * | Untabify C files. Will watch buildbots. | Antoine Pitrou | 2010-05-09 | 1 | -3117/+3117 |
| | | |||||
| * | Remove an unneeded variable assignment. | Brett Cannon | 2010-05-04 | 1 | -1/+0 |
| | | | | | Found using Clang's static analyzer. | ||||
| * | Issue #7834: Fix connect() of Bluetooth L2CAP sockets with recent versions | Antoine Pitrou | 2010-04-29 | 1 | -0/+1 |
| | | | | | of the Linux kernel. Patch by Yaniv Aknin. | ||||
| * | Issue #8235: _socket: Add the constant ``SO_SETFIB``. SO_SETFIB is | Larry Hastings | 2010-04-02 | 1 | -0/+3 |
| | | | | | a socket option available on FreeBSD 7.1 and newer. | ||||
| * | Backported PyCapsule from 3.1, and converted most uses of | Larry Hastings | 2010-03-25 | 1 | -1/+1 |
| | | | | | CObject to PyCapsule. | ||||
| * | Issue #8104: socket.recv_into() and socket.recvfrom_into() now support | Antoine Pitrou | 2010-03-17 | 1 | -17/+29 |
| | | | | | | writing into objects supporting the new buffer API, for example bytearrays or memoryviews. | ||||
| * | Issue #4772: Raise a ValueError when an unknown Bluetooth protocol is | Antoine Pitrou | 2010-02-04 | 1 | -1/+5 |
| | | | | | | | specified, rather than fall through to AF_PACKET (in the `socket` module). Also, raise ValueError rather than TypeError when an unknown TIPC address type is specified. Patch by Brian Curtin. | ||||
| * | http://bugs.python.org/issue6971 | Kristján Valur Jónsson | 2009-09-25 | 1 | -15/+39 |
| | | | | | Adding the SIO_KEEPALIVE_VALS command to socket.ioctl on windows | ||||
| * | #6944: the argument to PyArg_ParseTuple should be a tuple, otherwise a ↵ | Georg Brandl | 2009-09-19 | 1 | -5/+8 |
| | | | | | SystemError is set. Also clean up another usage of PyArg_ParseTuple. | ||||
| * | Fix issue1628205: Socket file objects returned by socket.socket.makefile() now | Gregory P. Smith | 2009-08-13 | 1 | -1/+14 |
| | | | | | | properly handles EINTR within the read, readline, write & flush methods. The socket.sendall() method now properly handles interrupted system calls. | ||||
| * | Apply patch for netbsd multiprocessing support | Jesse Noller | 2009-03-31 | 1 | -1/+1 |
| | | |||||
| * | Issue #1008086: Fixes socket.inet_aton() to always return 4 bytes even | Gregory P. Smith | 2009-02-11 | 1 | -2/+8 |
| | | | | | on LP64 platforms (most 64-bit Linux, bsd, unix systems). | ||||
| * | - Issue #5104: The socket module now raises OverflowError when 16-bit port and | Gregory P. Smith | 2009-01-31 | 1 | -3/+27 |
| | | | | | | protocol numbers are supplied outside the allowed 0-65536 range on bind() and getservbyport(). | ||||
| * | Fix issue 4884, preventing a crash in the socket code when python is compiled | Jeffrey Yasskin | 2009-01-09 | 1 | -1/+5 |
| | | | | | with llvm-gcc and run with a glibc <2.10. | ||||
