Jesus Cea
|
14c81aba50
|
#16135: Removal of OS/2 support (Modules/*)
|
13 years ago |
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
|
14 years ago |
Matthias Klose
|
d182a6c77e
|
Modules/socketmodule.c: netdb_lock: define static.
|
14 years ago |
Charles-François Natali
|
9b0c006eb0
|
Remove useless test (flowinfo is unsigned).
|
14 years ago |
Kristján Valur Jónsson
|
10f383a937
|
Issue #14310: inter-process socket duplication for windows
|
14 years ago |
Antoine Pitrou
|
9a54a260de
|
Issue #14300: Under Windows, sockets created using socket.dup() now allow overlapped I/O.
Patch by sbt.
|
14 years ago |
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.
|
14 years ago |
Ross Lagerwall
|
8c159761de
|
Issue #10951: Fix warnings in the socket module.
|
14 years ago |
Martin v. Löwis
|
9d6c66933a
|
Issue #13777: Add PF_SYSTEM sockets on OS X.
Patch by Michael Goderbauer.
|
14 years ago |
Charles-François Natali
|
366999a011
|
Issue #9975: socket: Fix incorrect use of flowinfo and scope_id. Patch by
Vilmos Nebehaj.
|
14 years ago |
Charles-François Natali
|
8b759655d0
|
Issue #8623: Fix some strict-aliasing warnings. Patch by David Watson.
|
14 years ago |
Charles-François Natali
|
564a42c8de
|
Issue #12809: Expose IP_TRANSPARENT in the socket module. Patch by Michael
Farrell.
|
14 years ago |
Victor Stinner
|
1f33f2b0c3
|
Issue #13560: os.strerror() now uses the current locale encoding instead of UTF-8
|
14 years ago |
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.
|
14 years ago |
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()
|
14 years ago |
Victor Stinner
|
74168975cc
|
socket_gethostname() uses a wchar_t* with PyMem_Malloc() to avoid the
old Unicode API.
|
14 years ago |
Charles-François Natali
|
10b8cf4455
|
Issue #7777: socket: Add Reliable Datagram Sockets (PF_RDS) support.
|
14 years ago |
Victor Stinner
|
cb98bed299
|
Issue #12619: Expose socket.SO_BINDTODEVICE constant
|
14 years ago |
Martin v. Löwis
|
bd928fef42
|
Rename _Py_identifier to _Py_IDENTIFIER.
|
14 years ago |
Antoine Pitrou
|
6b4883dec0
|
PEP 3151 / issue #12555: reworking the OS and IO exception hierarchy.
|
14 years ago |
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.
|
14 years ago |
Charles-François Natali
|
30589c9041
|
Issue #10141: fix socketmodule compilation on Linux systems with <linux/can.h>
but without AF_CAN definition.
|
14 years ago |
Charles-François Natali
|
47413c1171
|
Issue #10141: socket: add SocketCAN (PF_CAN) support. Initial patch by Matthias
Fuchs, updated by Tiago Gonçalves.
|
14 years ago |
Victor Stinner
|
639418812f
|
Use the new Py_ARRAY_LENGTH macro
|
14 years ago |
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.
|
15 years ago |
Charles-François Natali
|
aa26b27503
|
Issue #12287: Fix a stack corruption in ossaudiodev module when the FD is
greater than FD_SETSIZE.
|
15 years ago |
Charles-François Natali
|
e9e95ae93d
|
sock_sendmsg/sock_recvmsg: Use {0} to 0-initialize aggregate types with
automatic storage class.
|
15 years ago |
Charles-François Natali
|
b09f25e9a3
|
Issue12810: Remove check for negative unsigned value in socketmodule.c. Patch
by Joel Stanley.
|
15 years ago |
Victor Stinner
|
710d27e93a
|
Close #12826: fix socketmodule.c for OpenBSD, include sys/uio.h
Patch written by Remi Pointel.
|
15 years ago |
Nick Coghlan
|
4ecf6cfc20
|
Attempt to address Windows buildbot failures
|
15 years ago |
Nick Coghlan
|
96fe56abec
|
Add support for the send/recvmsg API to the socket module. Patch by David Watson and Heiko Wundram. (Closes #6560)
|
15 years ago |
Ezio Melotti
|
f42121f27e
|
#12725: fix working. Patch by Ben Hayden.
|
15 years ago |
Ezio Melotti
|
388c945e97
|
#12725: fix working. Patch by Ben Hayden.
|
15 years ago |
Victor Stinner
|
77af172914
|
socket.sendto(): exit directly after setting the error
Dummy change to avoid a false positive with the Clang Static Analyzer.
|
15 years ago |
Gregory P. Smith
|
b6471db8a7
|
Further documentation updates to be consistent with doc standards and comments
Ezio Melotti pointed out.
|
15 years ago |
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.
|
15 years ago |
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.
|
15 years ago |
Gregory P. Smith
|
5ed2e779f1
|
Issue #1746656: Add if_nameindex, if_nametoindex, if_indextoname
methods to the socket module.
|
15 years ago |
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.
|
15 years ago |
Antoine Pitrou
|
5e98141f9f
|
Issue #5421: Fix misleading error message when one of socket.sendto()'s
arguments has the wrong type. Patch by Nikita Vetoshkin.
|
15 years ago |
Ezio Melotti
|
13925008dc
|
#11565: Fix several typos. Patch by Piotr Kasprzyk.
|
15 years ago |
Jesus Cea
|
736e7fc0f6
|
Issue #11495: OSF support is eliminated. It was deprecated in Python 3.2
|
15 years ago |
Antoine Pitrou
|
061cfb5258
|
Issue #10866: Add socket.sethostname(). Initial patch by Ross Lagerwall.
|
15 years ago |
Brett Cannon
|
b94767ff44
|
Issue #8914: fix various warnings from the Clang static analyzer v254.
|
15 years ago |
Alexander Belopolsky
|
e239d23e8c
|
Issue #6697: Fixed instances of _PyUnicode_AsString() result not checked for NULL
|
15 years ago |
Antoine Pitrou
|
c4df784514
|
Issue #10272: The ssl module now raises socket.timeout instead of a generic
SSLError on socket timeouts.
|
15 years ago |
Hirokazu Yamamoto
|
09fff7a8d1
|
Fixed socket_gethostname() on windows.
|
15 years ago |
Benjamin Peterson
|
e857b29fdd
|
plug refleak
|
15 years ago |
Martin v. Löwis
|
72f48422e2
|
Issue #9377: Use Unicode API for gethostname on Windows.
|
15 years ago |
Antoine Pitrou
|
e033e06db0
|
Issue #10093: ResourceWarnings are now issued when files and sockets are
deallocated without explicit closing. These warnings are silenced by
default, except in pydebug mode.
|
15 years ago |