Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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. | ||||
* | Issue #3139: Make buffer-interface thread-safe wrt. PyArg_ParseTuple, | Martin v. Löwis | 2008-08-12 | 1 | -10/+32 |
| | | | | | | | by denying s# to parse objects that have a releasebuffer procedure, and introducing s*. More module might need to get converted to use s*. | ||||
* | Restore support for Microsoft VC6 compiler. | Amaury Forgeot d'Arc | 2008-06-13 | 1 | -2/+2 |
| | | | | | | | Some functions in the msvcrt module are skipped, and socket.ioctl is enabled only when using a more recent Platform SDK. (and yes, there are still companies that use a 10-years old compiler) | ||||
* | This reverts r63675 based on the discussion in this thread: | Gregory P. Smith | 2008-06-09 | 1 | -30/+30 |
| | | | | | | | http://mail.python.org/pipermail/python-dev/2008-June/079988.html Python 2.6 should stick with PyString_* in its codebase. The PyBytes_* names in the spirit of 3.0 are available via a #define only. See the email thread. | ||||
* | Renamed PyString to PyBytes | Christian Heimes | 2008-05-26 | 1 | -30/+30 |
| | |||||
* | Repair compilation for Visual Studio 2005. | Amaury Forgeot d'Arc | 2008-03-28 | 1 | -0/+4 |
| | | | | | | | I applied the same changes manually to VS7.1 and VC6 files; completely untested. (Christian, don't try too hard merging this change into py3k. It will be easier to do the same work again on the branch) | ||||
* | Remove all traces of HAVE_STRERROR. | Brett Cannon | 2008-03-18 | 1 | -6/+1 |
| | | | | | The removal of strerror.c led to the function check being removed from configure.in. | ||||
* | patch 1754489 by vlahan: | Armin Rigo | 2008-01-23 | 1 | -2/+2 |
| | | | | improve portability of address length calculation for AF_UNIX sockets | ||||
* | Patch #1019808 from Federico Schwindt: Return correct socket error when | Andrew M. Kuchling | 2008-01-19 | 1 | -9/+16 |
| | | | | | | | | a default timeout has been set, by using getsockopt() to get the error condition (instead of trying another connect() call, which seems to be a Linuxism). 2.5 bugfix candidate, assuming no one reports any problems with this change. | ||||
* | Make Modules/socketobject.c compile for Windows again. | Thomas Heller | 2008-01-13 | 1 | -4/+7 |
| | |||||
* | Removed unused variable | Christian Heimes | 2008-01-11 | 1 | -1/+1 |
| | |||||
* | Guard definition of TIPC_SUB_CANCEL with an #ifdef. | Georg Brandl | 2008-01-11 | 1 | -1/+4 |
| | |||||
* | Comment-out missing constant (from rev 59819) | Raymond Hettinger | 2008-01-11 | 1 | -1/+1 |
| | |||||
* | Issue #1646: Make socket support TIPC. The socket module now has support | Christian Heimes | 2008-01-07 | 1 | -1/+153 |
| | | | | | for TIPC under Linux, see http://tipc.sf.net/ for more information. Thanks to Alberto Bertogli for the patch | ||||
* | Added interface to Windows' WSAIoctl and a simple example for a network sniffer. | Christian Heimes | 2008-01-04 | 1 | -1/+42 |
| | |||||
* | #1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and ↵ | Christian Heimes | 2007-12-19 | 1 | -8/+8 |
| | | | | Py_REFCNT. Macros for b/w compatibility are available. | ||||
* | Issue #1645 by Alberto Bertogli. Fix a comment. | Guido van Rossum | 2007-12-18 | 1 | -6/+6 |
| | |||||
* | Backport of the PCbuild9 directory from the py3k branch. | Christian Heimes | 2007-11-22 | 1 | -0/+4 |
| | | | | | I've finished the last task for the PCbuild9 directory today. I don't think there is much left to do. Now you can all play around with the shiny new VS 2008 and try the PGO builds. I was able to get a speed improvement of about 10% on py3k. Have fun! :) | ||||
* | A patch from issue 1378 by roudkerk: | Guido van Rossum | 2007-11-16 | 1 | -81/+5 |
| | | | | | | | | Currently on Windows set_error() make use of a large array which maps socket error numbers to error messages. This patch removes that array and just lets PyErr_SetExcFromWindowsErr() generate the message by using the Win32 function FormatMessage(). | ||||
* | Change socket.error to inherit from IOError rather than being a stand | Gregory P. Smith | 2007-09-09 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | | | | | | | alone class. This addresses the primary concern in http://bugs.python.org/issue1706815 python-dev discussion here: http://mail.python.org/pipermail/python-dev/2007-July/073749.html I chose IOError rather than EnvironmentError as the base class since socket objects are often used as transparent duck typed file objects in code already prepared to deal with IOError exceptions. also a minor fix: urllib2 - fix a couple places where IOError was raised rather than URLError. for better or worse, URLError already inherits from IOError so this won't break any existing code. test_urllib2net - replace bad ftp urls. | ||||
* | PEP 3123: Provide forward compatibility with Python 3.0, while keeping | Martin v. Löwis | 2007-07-21 | 1 | -10/+9 |
| | | | | | backwards compatibility. Add Py_Refcnt, Py_Type, Py_Size, and PyVarObject_HEAD_INIT. | ||||
* | Fix build on FreeBSD. Bluetooth HCI API in FreeBSD is quite different | Hye-Shik Chang | 2007-06-05 | 1 | -2/+5 |
| | | | | | from Linux's. Just fix the build for now but the code doesn't support the complete capability of HCI on FreeBSD yet. | ||||
* | Fix method names. Will backport. | Neal Norwitz | 2007-03-31 | 1 | -3/+4 |
| | |||||
* | Bug 1688393. Adds a control of negative values in | Facundo Batista | 2007-03-28 | 1 | -2/+8 |
| | | | | socket.recvfrom, which caused an ugly crash. | ||||
* | Update 1432399 to removal of _BT_SOCKADDR_MEMB. | Martin v. Löwis | 2007-02-14 | 1 | -2/+1 |
| | |||||
* | Patch #1432399: Add HCI sockets. | Martin v. Löwis | 2007-02-14 | 1 | -0/+34 |
| | |||||
* | Patch #1657276: Make NETLINK_DNRTMSG conditional. | Martin v. Löwis | 2007-02-13 | 1 | -0/+2 |
| | | | | Will backport. | ||||
* | Patch #1635058 by Mark Roberts: ensure that htonl and friends never accept or | Guido van Rossum | 2007-01-14 | 1 | -4/+24 |
| | | | | return negative numbers, per the underlying C implementation. | ||||
* | Comment typo | Andrew M. Kuchling | 2006-12-19 | 1 | -1/+1 |
| | |||||
* | Patch #1544279: Improve thread-safety of the socket module by moving | Martin v. Löwis | 2006-12-03 | 1 | -52/+45 |
| | | | | | the sock_addr_t storage out of the socket object. Will backport to 2.5. | ||||
* | Patch #1511317: don't crash on invalid hostname info | Georg Brandl | 2006-08-14 | 1 | -11/+14 |
| | |||||
* | Patch #1519025 and bug #926423: If a KeyboardInterrupt occurs during | Neal Norwitz | 2006-08-02 | 1 | -18/+36 |
| | | | | | a socket operation on a socket with a timeout, the exception will be caught correctly. Previously, the exception was not caught. | ||||
* | Fix spelling. | Georg Brandl | 2006-07-28 | 1 | -1/+1 |
| | |||||
* | Allow socketmodule to compile on NetBSD -current, whose bluetooth API | Matt Fleming | 2006-07-28 | 1 | -0/+8 |
| | | | | differs from both Linux and FreeBSD. Accepted by Neal Norwitz. | ||||
* | #1494314: Fix a regression with high-numbered sockets in 2.4.3. This | Anthony Baxter | 2006-07-11 | 1 | -16/+44 |
| | | | | | means that select() on sockets > FD_SETSIZE (typically 1024) work again. The patch makes sockets use poll() internally where available. | ||||
* | Patch #1516912: improve Modules support for OpenVMS. | Neal Norwitz | 2006-07-10 | 1 | -49/+43 |
| | |||||
* | Patch #1495999: Part two of Windows CE changes. | Martin v. Löwis | 2006-06-10 | 1 | -2/+6 |
| | | | | | | - update header checks, using autoconf - provide dummies for getenv, environ, and GetVersion - adjust MSC_VER check in socketmodule.c |