Terry Jan Reedy
98472b8396
Merge 3.2, issue #17047 : remove doubled words found in 2.7 to
...
3.4 Lib/*, as reported by Serhiy Storchaka and Matthew Barnett.
2013-03-11 17:58:27 -04:00
Terry Jan Reedy
c30b7b16ea
Issue #17047 : remove doubled words found in 2.7 to 3.4 Lib/*,
...
as reported by Serhiy Storchaka and Matthew Barnett.
2013-03-11 17:57:08 -04:00
Serhiy Storchaka
9101e23ff6
Issue #15989 : Fix several occurrences of integer overflow
...
when result of PyLong_AsLong() narrowed to int without checks.
This is a backport of changesets 13e2e44db99d and 525407d89277.
2013-01-19 12:41:45 +02:00
Serhiy Storchaka
441d30fac7
Issue #15989 : Fix several occurrences of integer overflow
...
when result of PyLong_AsLong() narrowed to int without checks.
This is a backport of changesets 13e2e44db99d and 525407d89277.
2013-01-19 12:26:26 +02:00
Antoine Pitrou
d5a070f586
Silence sporadic failure in RecvmsgIntoSCTPStreamTest.testRecvmsgEOF (issue #13876 ) - probably not Python-related.
2012-12-18 23:44:36 +01:00
Antoine Pitrou
92f8b0016e
Silence sporadic failure in RecvmsgSCTPStreamTest.testRecvmsgEOF (issue #13876 ) - probably not Python-related.
2012-12-16 16:40:04 +01:00
Trent Nelson
016884cbaa
Issue #16257 : make test_create_connection() handle ENETUNREACH.
2012-10-17 06:15:40 -04:00
Trent Nelson
45bb613e25
Issue #16257 : make test_create_connection() handle ENETUNREACH.
2012-10-17 06:15:15 -04:00
Antoine Pitrou
9b1c84b586
Issue #15842 : the SocketIO.{readable,writable,seekable} methods now raise ValueError when the file-like object is closed.
...
Patch by Alessandro Moura.
2012-09-14 17:30:31 +02:00
Antoine Pitrou
1e7ee9dfa0
Issue #15842 : the SocketIO.{readable,writable,seekable} methods now raise ValueError when the file-like object is closed.
...
Patch by Alessandro Moura.
2012-09-14 17:28:10 +02:00
Ross Lagerwall
8d459f0cb8
#15284 : Skip {send,recv}msg tests with disabled IPv6
...
Patch by Brian Brazil.
2012-07-08 09:53:57 +02:00
Antoine Pitrou
b7eb563a2a
Errors in "client" methods in test_socket were ignored because of a bogus except clause.
...
(this could reveal test failures!)
2012-06-24 01:34:13 +02:00
Kristján Valur Jónsson
52a11f1f46
Issue #14310 : Catch testing errors when trying to create unsupported socket
...
types on some platforms.
2012-04-07 20:38:44 +00: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
8315f96764
Issue #13872 : socket.detach() now marks the socket closed (as mirrored in the socket repr()).
...
Patch by Matt Joiner.
2012-04-01 01:00:55 +02:00
Antoine Pitrou
70deb3de39
Issue #13872 : socket.detach() now marks the socket closed (as mirrored in the socket repr()).
...
Patch by Matt Joiner.
2012-04-01 01:00:17 +02:00
Nadeem Vawda
61baebd0e1
Issue #12804 : Fix test failures on systems without internet access.
2012-01-25 08:02:05 +02:00
Nadeem Vawda
a58c01ba48
Remove redundant resource check in test_socket.
2012-01-25 06:48:47 +02: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
Antoine Pitrou
7ded21e917
Issue #5424 : add tests for inet_ntoa, inet_ntop, inet_aton and inet_pton.
...
Patch by Philipp Hagemeister.
2011-12-19 16:21:21 +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
Antoine Pitrou
d1301953fe
Issue #5424 : add tests for inet_ntoa, inet_ntop, inet_aton and inet_pton.
...
Patch by Philipp Hagemeister.
2011-12-19 16:22:26 +01:00
Antoine Pitrou
1637487a0c
Skip test if the path is too long for a AF_UNIX socket
2011-12-16 15:04:12 +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
Ezio Melotti
4a7abe7ca6
#11112 : merge with 3.2.
2011-11-18 18:35:53 +02:00
Ezio Melotti
7f78ddc3ad
#11112 : Fix typo in a base class in test_socket.
2011-11-18 18:33:14 +02:00
Charles-François Natali
240c55f721
Fix test_socket when built whithout threads.
2011-11-10 20:33: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
Antoine Pitrou
24d659daaf
Use InterruptedError instead of checking for EINTR
2011-10-23 23:49:42 +02:00
Antoine Pitrou
ffa547e139
Fix deprecation warning
2011-10-11 22:43:37 +02:00
Antoine Pitrou
86fe86055b
Fix the threading infrastructure in test_socket to support skipping
...
tests from the setUp() routine.
This fixes a refleak in test_socket on some machines.
2011-10-10 20:15:59 +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
Charles-François Natali
8619cd7376
Issue #13001 : Fix test_socket.testRecvmsgTrunc failure on FreeBSD < 8, which
...
doesn't always set the MSG_TRUNC flag when a truncated datagram is received.
2011-10-03 19:43:15 +02:00
Antoine Pitrou
86aed0bbc6
Fix ResourceWarnings in the TIPC socket tests.
2011-10-02 23:33:19 +02:00
Antoine Pitrou
22cd021656
Fix ResourceWarnings in the TIPC socket tests.
2011-10-02 23:37:41 +02:00
Charles-François Natali
9089b7956b
Fix a race condition in test_socket.ThreadableTest: the client is reported
...
ready before having been set up.
2011-09-21 22:05:01 +02:00
Charles-François Natali
a49ed7650a
Fix a race condition in test_socket.ThreadableTest: the client is reported as
...
ready before having been set up.
2011-09-21 22:03:58 +02:00
Nick Coghlan
2496f331a7
Close issue 12958 by flagging expected failures in test_socket on Mac OS X
2011-09-19 20:26:31 +10:00
Nadeem Vawda
3d1706fa83
Fix deprecation warnings in test_socket.
2011-08-22 09:46:56 +02: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
Victor Stinner
e67474725b
Issue #12326 : refactor usage of sys.platform
...
* Use str.startswith(tuple): I didn't know this Python feature, Python rocks!
* Replace sometimes sys.platform.startswith('linux') with
sys.platform == 'linux'
* sys.platform doesn't contain the major version on Cygwin on Mac OS X
(it's just 'cygwin' and 'darwin')
2011-08-21 00:39:18 +02:00
Victor Stinner
9c3de4a883
Issue #12326 : don't test the major version of sys.platform
...
Use startswith, instead of ==, when testing sys.platform to support
new platforms like Linux 3 or OpenBSD 5.
2011-08-17 20:49:41 +02:00
Charles-François Natali
239bb96540
Issue #12196 : Make test.support's requires_linux_version a decorator.
2011-06-03 12:55:15 +02:00
Victor Stinner
fea0f4d517
Issue #12158 : Move linux_version() from test_socket to test.support
2011-05-24 00:24:19 +02: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
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
74b4885cc9
Issue #12054 : use support.find_unused_port() instead of reinventing the wheel
2011-05-10 23:37:42 +02:00
Antoine Pitrou
ccc87b53db
Issue #12054 : use support.find_unused_port() instead of reinventing the wheel
2011-05-10 23:37:11 +02: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