Gregory P. Smith
|
8128d5a491
|
Address a minor Coverity warning re: unchecked PyArg_ParseTuple calls
in socket.sendto(). A PyErr_Occurred() check was happening later, but
it is better to just use the return value and not call PyErr_Occurred().
|
2017-01-17 16:54:56 -08:00 |
|
Victor Stinner
|
4f8dc3d15c
|
Add TCP_CONGESTION and TCP_USER_TIMEOUT
Issue #26273: Add new socket.TCP_CONGESTION (Linux 2.6.13) and
socket.TCP_USER_TIMEOUT (Linux 2.6.37) constants.
Patch written by Omar Sandoval.
|
2016-11-29 16:55:04 +01:00 |
|
Serhiy Storchaka
|
85b0f5beb1
|
Added the const qualifier to char* variables that refer to readonly internal
UTF-8 represenatation of Unicode objects.
|
2016-11-20 10:16:47 +02:00 |
|
Serhiy Storchaka
|
a98c4a984b
|
Replaced outdated macros _PyUnicode_AsString and _PyUnicode_AsStringAndSize
with PyUnicode_AsUTF8 and PyUnicode_AsUTF8AndSize.
|
2016-11-20 09:13:40 +02:00 |
|
Serhiy Storchaka
|
06515833fe
|
Replaced outdated macros _PyUnicode_AsString and _PyUnicode_AsStringAndSize
with PyUnicode_AsUTF8 and PyUnicode_AsUTF8AndSize.
|
2016-11-20 09:13:07 +02:00 |
|
Martin Panter
|
5e17ad9716
|
Merge AIX fixes from 3.6
|
2016-11-14 05:04:36 +00:00 |
|
Martin Panter
|
f8cebad290
|
Merge AIX fixes from 3.5 into 3.6
|
2016-11-14 05:04:12 +00:00 |
|
Martin Panter
|
c9e08d8cb5
|
Issue #28000: Fix gethostbyname_r() usage on AIX with _LINUX_SOURCE_COMPAT
Patch by Matthieu S.
|
2016-11-14 04:26:36 +00:00 |
|
Martin Panter
|
812f6e1f23
|
Issue #28480: Merge multithreading fixes from 3.6
|
2016-10-20 05:25:14 +00:00 |
|
Martin Panter
|
fa27d5f229
|
Issue #28480: Avoid label at end of compound statement --without-threads
Based on patch by Masayuki Yamamoto.
|
2016-10-20 00:48:23 +00:00 |
|
Yury Selivanov
|
193a360570
|
Merge 3.6 (issue #28471)
|
2016-10-18 16:04:40 -04:00 |
|
Yury Selivanov
|
fa22b29960
|
Issue #28471: Fix crash (GIL state related) in socket.setblocking
|
2016-10-18 16:03:52 -04:00 |
|
Serhiy Storchaka
|
6a7d3480fc
|
Issue #28332: Deprecated silent truncations in socket.htons and socket.ntohs.
Original patch by Oren Milman.
|
2016-10-02 12:34:40 +03:00 |
|
Martin Panter
|
d508d00919
|
Issue #28139: Merge indentation fixes from 3.5 into 3.6
|
2016-09-17 07:59:14 +00:00 |
|
Martin Panter
|
6d57fe1c23
|
Issue #28139: Fix messed up indentation
Also update the classmethod and staticmethod doc strings and comments to
match the RST documentation.
|
2016-09-17 03:26:16 +00:00 |
|
Christian Heimes
|
faf2cea1fd
|
Fix NULL check in sock_sendmsg_iovec. CID 1372885
|
2016-09-13 10:07:16 +02:00 |
|
Victor Stinner
|
52d61e485e
|
socket: Fix memory leak in sendmsg() and sendmsg_afalg()
Issue #27744:
* Release msg.msg_iov memory block.
* Release memory on PyMem_Malloc(controllen) failure
|
2016-09-12 11:41:58 +02:00 |
|
Victor Stinner
|
288b5bf624
|
Cleanup socketmodule.c
Issue #27744:
* PEP 7: add {...} around if blocks
* assign variables and then check their value in if() to make the code easier
to read and to debug.
|
2016-09-12 11:45:59 +02:00 |
|
Christian Heimes
|
0b9d64ebfe
|
Issue 18550: Check return value of ioctl() / fnctl() in internal_setblocking
The function internal_setblocking() of the socket module did not check
the return values of ioctl() and fnctl().
CID 1294328
|
2016-09-09 00:28:57 +02:00 |
|
Martin Panter
|
0be894b2f6
|
Issue #27895: Spelling fixes (Contributed by Ville Skyttä).
|
2016-09-07 12:03:06 +00:00 |
|
Benjamin Peterson
|
b6c345878a
|
use the '__linux__' instead 'linux' preprocessor define
|
2016-09-07 14:08:34 -07:00 |
|
Christian Heimes
|
8c21ab0ab9
|
Issue #27744: correct comment and markup
|
2016-09-06 00:07:02 +02:00 |
|
Christian Heimes
|
dffa3949c7
|
Issue #27744: Add AF_ALG (Linux Kernel crypto) to socket module.
|
2016-09-05 23:54:41 +02:00 |
|
Raymond Hettinger
|
15f44ab043
|
Issue #27895: Spelling fixes (Contributed by Ville Skyttä).
|
2016-08-30 10:47:49 -07:00 |
|
R David Murray
|
bdfa0ebff7
|
#26907: add some missing getsockopt constants.
Patch by Christian Heimes, reviewed by Martin Panter.
|
2016-08-23 21:12:40 -04:00 |
|