Jesus Cea
|
14c81aba50
|
#16135: Removal of OS/2 support (Modules/*)
|
2012-10-05 02:11:36 +02:00 |
Christian Heimes
|
15b6885fe0
|
Make sure that *really* no more than sizeof(ifr.ifr_name) chars are strcpy-ed to ifr.ifr_name and that the string is *always* NUL terminated. New code shouldn't use strcpy(), too. CID 719692
|
2012-09-10 01:25:50 +02:00 |
Andrew Svetlov
|
c53eb9dfe2
|
Merge 3.2 to default
|
2012-08-14 18:42:10 +03:00 |
Matthias Klose
|
d182a6c77e
|
Modules/socketmodule.c: netdb_lock: define static.
|
2012-08-14 17:29:04 +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 |
Victor Stinner
|
77af172914
|
socket.sendto(): exit directly after setting the error
Dummy change to avoid a false positive with the Clang Static Analyzer.
|
2011-05-26 14:05:59 +02:00 |
Gregory P. Smith
|
b6471db8a7
|
Further documentation updates to be consistent with doc standards and comments
Ezio Melotti pointed out.
|
2011-05-22 22:47:55 -07:00 |
Charles-François Natali
|
6071359de1
|
Issue #1746656: make if_nameindex(), if_indextoname() and if_nametoindex()
accept and return str instead of bytes arrays. Add some more tests.
|
2011-05-20 16:55:06 +02:00 |
Gregory P. Smith
|
3b1f2c35f4
|
issue #1746656: Fix for OS X. configure and #include changes so that the socket
module compiles again on OS X with its more annoying #include requirements.
|
2011-05-15 12:18:23 -07:00 |
Gregory P. Smith
|
5ed2e779f1
|
Issue #1746656: Add if_nameindex, if_nametoindex, if_indextoname
methods to the socket module.
|
2011-05-15 00:26:45 -07:00 |
Antoine Pitrou
|
3cade9942e
|
Issue #8498: In socket.accept(), allow to specify 0 as a backlog value in
order to accept exactly one connection. Patch by Daniel Evers.
|
2011-05-10 19:19:13 +02:00 |
Antoine Pitrou
|
1be815aac4
|
Issue #8498: In socket.accept(), allow to specify 0 as a backlog value in
order to accept exactly one connection. Patch by Daniel Evers.
|
2011-05-10 19:16:29 +02:00 |
Antoine Pitrou
|
9befeb3743
|
Issue #5421: merge fix
|
2011-03-17 22:40:18 +01:00 |
Antoine Pitrou
|
5e98141f9f
|
Issue #5421: Fix misleading error message when one of socket.sendto()'s
arguments has the wrong type. Patch by Nikita Vetoshkin.
|
2011-03-17 22:38:37 +01:00 |
Ezio Melotti
|
3b3499ba69
|
#11565: Merge with 3.1.
|
2011-03-16 11:35:38 +02:00 |
Ezio Melotti
|
13925008dc
|
#11565: Fix several typos. Patch by Piotr Kasprzyk.
|
2011-03-16 11:05:33 +02:00 |
Antoine Pitrou
|
fee6684f3c
|
Issue #5421: merge fix
|
2011-03-17 22:46:17 +01:00 |