| Commit message (Collapse) | Author | Age | Files | Lines |
| |\ |
|
| | | |
|
| | |
| |
| |
| | |
AI_NUMERICSERV isn't defined on OSX 10.4.
|
| | |
| |
| |
| |
| | |
Without this patch socket.getaddrinfo crashed when called
with some unusual argument combinations.
|
| | |
| |
| |
| |
| | |
when it needs support from timemodule (which is a .so on linux):
link in timemodule.c for the required functions.
|
| | |
| |
| |
| | |
time function on non-windows isn't quite simple.
|
| | |
| |
| |
| |
| | |
(WSAEWOULDBLOCK - A non-blocking socket operation could not be completed
immediately)
|
| | |
| |
| |
| |
| |
| |
| | |
when result of PyInt_AsLong() or PyLong_AsLong() narrowed
to int without checks.
This is a backport of changesets 13e2e44db99d and 525407d89277.
|
| | | |
|
| | | |
|
| | | |
|
| | |
| |
| |
| | |
Vilmos Nebehaj.
|
| | |
| |
| |
| | |
greater than FD_SETSIZE.
|
| | | |
|
| | |
| |
| |
| | |
order to accept exactly one connection. Patch by Daniel Evers.
|
| | | |
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
........
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
........
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
........
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
........
|
| | | |
|
| | |
| |
| |
| | |
Found using Clang's static analyzer.
|
| | |
| |
| |
| | |
of the Linux kernel. Patch by Yaniv Aknin.
|
| | |
| |
| |
| | |
a socket option available on FreeBSD 7.1 and newer.
|
| | |
| |
| |
| | |
CObject to PyCapsule.
|
| | |
| |
| |
| |
| | |
writing into objects supporting the new buffer API, for example bytearrays
or memoryviews.
|
| | |
| |
| |
| |
| |
| | |
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.
|
| | |
| |
| |
| | |
Adding the SIO_KEEPALIVE_VALS command to socket.ioctl on windows
|
| | |
| |
| |
| | |
SystemError is set. Also clean up another usage of PyArg_ParseTuple.
|
| | |
| |
| |
| |
| | |
properly handles EINTR within the read, readline, write & flush methods.
The socket.sendall() method now properly handles interrupted system calls.
|
| | | |
|
| | |
| |
| |
| | |
on LP64 platforms (most 64-bit Linux, bsd, unix systems).
|
| | |
| |
| |
| |
| | |
protocol numbers are supplied outside the allowed 0-65536 range on bind()
and getservbyport().
|
| | |
| |
| |
| | |
with llvm-gcc and run with a glibc <2.10.
|
| | |
| |
| |
| |
| |
| |
| | |
by denying s# to parse objects that have a releasebuffer procedure,
and introducing s*.
More module might need to get converted to use s*.
|
| | |
| |
| |
| |
| |
| |
| | |
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)
|
| | |
| |
| |
| |
| |
| |
| | |
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.
|
| | | |
|
| | |
| |
| |
| |
| |
| |
| | |
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)
|
| | |
| |
| |
| |
| | |
The removal of strerror.c led to the function check being removed from
configure.in.
|
| | |
| |
| |
| | |
improve portability of address length calculation for AF_UNIX sockets
|
| | |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| |
| |
| |
| | |
for TIPC under Linux, see http://tipc.sf.net/ for more information.
Thanks to Alberto Bertogli for the patch
|
| | | |
|
| | |
| |
| |
| | |
Py_REFCNT. Macros for b/w compatibility are available.
|