Christian Heimes
|
71515510d8
|
Issue #18259: Declare sethostname in socketmodule.c for AIX
|
2013-06-19 02:07:20 +02:00 |
|
Ronald Oussoren
|
36451f076b
|
(3.3->default) Ensure that the fix for #17269 also works on OSX 10.4
AI_NUMERICSERV isn't defined on OSX 10.4.
|
2013-06-10 10:37:12 +02:00 |
|
Victor Stinner
|
640c35ce13
|
Reuse Py_MIN and Py_MAX macros: remove duplicate MIN/MAX macros
multiprocessing.h: remove unused MIN and MAX macros
|
2013-06-04 23:14:37 +02:00 |
|
Victor Stinner
|
0b81111b18
|
(Merge 3.3) Close #18109: os.uname() now decodes fields from the locale
encoding, and socket.gethostname() now decodes the hostname from the locale
encoding, instead of using the UTF-8 encoding in strict mode.
|
2013-06-03 22:09:14 +02:00 |
|
Ronald Oussoren
|
dc3e6cc452
|
(3.3->default) Issue #17269: Workaround for a platform bug in getaddrinfo on OSX
Without this patch socket.getaddrinfo crashed when called
with some unusual argument combinations.
|
2013-05-24 13:51:21 +02:00 |
|
Giampaolo Rodola'
|
80e1c43ddf
|
Fix issue #17996: expose socket.AF_LINK constant on BSD and OSX.
|
2013-05-21 21:02:04 +02:00 |
|
Charles-François Natali
|
b10c71daa2
|
Backed out changeset c0f2b038fc12
|
2013-05-21 10:45:46 +02:00 |
|
Charles-François Natali
|
c7c333d25d
|
Issue #17683: socket module: return AF_UNIX addresses in Linux abstract
namespace as string.
|
2013-05-21 09:49:18 +02:00 |
|
Charles-Francois Natali
|
74ca886788
|
Issue #17917: Use PyModule_AddIntMacro() instead of PyModule_AddIntConstant()
when applicable.
|
2013-05-20 19:13:19 +02:00 |
|
Benjamin Peterson
|
aa96588399
|
merge 3.3
|
2013-05-16 15:30:09 -05:00 |
|
Terry Jan Reedy
|
8b53559a89
|
Merge with 3.3, issue #17047: remove doubled words added in 3.3,
as reported by Serhiy Storchaka and Matthew Barnett.
|
2013-03-11 18:36:38 -04:00 |
|
Charles-François Natali
|
773e42dff8
|
Issue #15359: Add CAN_BCM protocol support to the socket module. Patch by Brian
Thorne.
|
2013-02-05 19:42:01 +01:00 |
|
Serhiy Storchaka
|
7898043868
|
Issue #15989: Fix several occurrences of integer overflow
when result of PyLong_AsLong() narrowed to int without checks.
|
2013-01-15 01:12:17 +02:00 |
|
Andrew Svetlov
|
0832af6628
|
Issue #16717: get rid of socket.error, replace with OSError
|
2012-12-18 23:10:48 +02:00 |
|
Benjamin Peterson
|
57b667261c
|
expose TCP_FASTOPEN and MSG_FASTOPEN
|
2012-12-12 22:24:47 -05:00 |
|
Jesus Cea
|
14c81aba50
|
#16135: Removal of OS/2 support (Modules/*)
|
2012-10-05 02:11:36 +02:00 |
|
Charles-François Natali
|
f8f5237b2f
|
Remove useless test (flowinfo is unsigned).
|
2012-06-23 10:26:54 +02:00 |
|
Charles-François Natali
|
9b0c006eb0
|
Remove useless test (flowinfo is unsigned).
|
2012-06-23 10:17:05 +02:00 |
|
Kristján Valur Jónsson
|
10f383a937
|
Issue #14310: inter-process socket duplication for windows
|
2012-04-07 11:23:31 +00:00 |
|
Antoine Pitrou
|
9a54a260de
|
Issue #14300: Under Windows, sockets created using socket.dup() now allow overlapped I/O.
Patch by sbt.
|
2012-04-01 01:14:39 +02:00 |
|
Kristján Valur Jónsson
|
310052c1f0
|
Fix warning when compiling socketmodule.c with VS2010
VS2010 defineds the old errno constants in addition to the WSA* ones.
|
2012-03-31 13:35:00 +00:00 |
|
Ross Lagerwall
|
8c159761de
|
Issue #10951: Fix warnings in the socket module.
|
2012-03-06 21:36:18 +02:00 |
|
Martin v. Löwis
|
9d6c66933a
|
Issue #13777: Add PF_SYSTEM sockets on OS X.
Patch by Michael Goderbauer.
|
2012-02-03 17:44:58 +01:00 |
|
Charles-François Natali
|
366999a011
|
Issue #9975: socket: Fix incorrect use of flowinfo and scope_id. Patch by
Vilmos Nebehaj.
|
2012-01-02 15:47:29 +01:00 |
|
Charles-François Natali
|
42663334cd
|
Issue #9975: socket: Fix incorrect use of flowinfo and scope_id. Patch by
Vilmos Nebehaj.
|
2012-01-02 15:57:30 +01:00 |
|
Charles-François Natali
|
8b759655d0
|
Issue #8623: Fix some strict-aliasing warnings. Patch by David Watson.
|
2011-12-23 16:44:51 +01:00 |
|
Charles-François Natali
|
564a42c8de
|
Issue #12809: Expose IP_TRANSPARENT in the socket module. Patch by Michael
Farrell.
|
2011-12-17 14:59:56 +01:00 |
|
Victor Stinner
|
1f33f2b0c3
|
Issue #13560: os.strerror() now uses the current locale encoding instead of UTF-8
|
2011-12-17 04:45:09 +01:00 |
|
Antoine Pitrou
|
6ec29e299b
|
Issue #8373: The filesystem path of AF_UNIX sockets now uses the filesystem
encoding and the surrogateescape error handler, rather than UTF-8. Patch
by David Watson.
|
2011-12-16 14:46:36 +01:00 |
|
Victor Stinner
|
9d3b93ba30
|
Use the new Unicode API
* Replace PyUnicode_FromUnicode(NULL, 0) by PyUnicode_New(0, 0)
* Replce PyUnicode_FromUnicode(str, len) by PyUnicode_FromWideChar(str, len)
* Replace Py_UNICODE by wchar_t
* posix_putenv() uses PyUnicode_FromFormat() to create the string, instead
of PyUnicode_FromUnicode() + _snwprintf()
|
2011-11-22 02:27:30 +01:00 |
|
Victor Stinner
|
74168975cc
|
socket_gethostname() uses a wchar_t* with PyMem_Malloc() to avoid the
old Unicode API.
|
2011-11-17 01:11:36 +01:00 |
|
Charles-François Natali
|
10b8cf4455
|
Issue #7777: socket: Add Reliable Datagram Sockets (PF_RDS) support.
|
2011-11-10 19:21:37 +01:00 |
|
Victor Stinner
|
cb98bed299
|
Issue #12619: Expose socket.SO_BINDTODEVICE constant
|
2011-10-25 13:45:48 +02:00 |
|
Martin v. Löwis
|
bd928fef42
|
Rename _Py_identifier to _Py_IDENTIFIER.
|
2011-10-14 10:20:37 +02:00 |
|
Antoine Pitrou
|
6b4883dec0
|
PEP 3151 / issue #12555: reworking the OS and IO exception hierarchy.
|
2011-10-12 02:54:14 +02:00 |
|
Martin v. Löwis
|
afe55bba33
|
Add API for static strings, primarily good for identifiers.
Thanks to Konrad Schöbel and Jasper Schulz for helping with the mass-editing.
|
2011-10-09 10:38:36 +02:00 |
|
Charles-François Natali
|
30589c9041
|
Issue #10141: fix socketmodule compilation on Linux systems with <linux/can.h>
but without AF_CAN definition.
|
2011-10-07 22:47:08 +02:00 |
|
Charles-François Natali
|
47413c1171
|
Issue #10141: socket: add SocketCAN (PF_CAN) support. Initial patch by Matthias
Fuchs, updated by Tiago Gonçalves.
|
2011-10-06 19:47:44 +02:00 |
|
Victor Stinner
|
639418812f
|
Use the new Py_ARRAY_LENGTH macro
|
2011-09-29 00:42:28 +02:00 |
|
Charles-François Natali
|
466517df0e
|
Issue #12837: POSIX.1-2008 allows socklen_t to be a signed integer: re-enable
the check against negative values, and add a note on this surprising test.
Patch by David Watson.
|
2011-08-28 18:23:43 +02:00 |
|
Charles-François Natali
|
ac7e9e058d
|
Issue #12287: Fix a stack corruption in ossaudiodev module when the FD is
greater than FD_SETSIZE.
|
2011-08-28 18:10:27 +02:00 |
|
Charles-François Natali
|
aa26b27503
|
Issue #12287: Fix a stack corruption in ossaudiodev module when the FD is
greater than FD_SETSIZE.
|
2011-08-28 17:51:43 +02:00 |
|
Charles-François Natali
|
e9e95ae93d
|
sock_sendmsg/sock_recvmsg: Use {0} to 0-initialize aggregate types with
automatic storage class.
|
2011-08-24 21:40:53 +02:00 |
|
Charles-François Natali
|
b09f25e9a3
|
Issue12810: Remove check for negative unsigned value in socketmodule.c. Patch
by Joel Stanley.
|
2011-08-24 20:07:54 +02:00 |
|
Victor Stinner
|
710d27e93a
|
Close #12826: fix socketmodule.c for OpenBSD, include sys/uio.h
Patch written by Remi Pointel.
|
2011-08-23 10:57:32 +02:00 |
|
Nick Coghlan
|
4ecf6cfc20
|
Attempt to address Windows buildbot failures
|
2011-08-22 15:45:19 +10:00 |
|
Nick Coghlan
|
96fe56abec
|
Add support for the send/recvmsg API to the socket module. Patch by David Watson and Heiko Wundram. (Closes #6560)
|
2011-08-22 11:55:57 +10:00 |
|
Ezio Melotti
|
7ec7fc4c3b
|
#12725: merge with 3.2.
|
2011-08-14 08:29:49 +03:00 |
|
Ezio Melotti
|
388c945e97
|
#12725: fix working. Patch by Ben Hayden.
|
2011-08-14 08:28:57 +03:00 |
|
Gregory P. Smith
|
d64b2bae9b
|
merge heads.
|
2011-06-04 23:05:19 -07:00 |
|