Commit graph

527 commits

Author SHA1 Message Date
Martin Panter
625fb648f7 Issue #28815: Merge test tweak from 3.5 2017-01-08 01:06:18 +00:00
Martin Panter
8cbd46f19f Issue #28815: Use new exception subclasses 2017-01-08 00:46:25 +00:00
Martin Panter
871e01885c Issue #28815: Merge test_socket fix from 3.6 2016-12-24 11:24:45 +00:00
Martin Panter
da31ba9b92 Issue #28815: Merge test_socket fix from 3.5 2016-12-24 10:53:18 +00:00
Martin Panter
e9ae5f9b16 Issue #28815: Skip TIPC tests if /proc/modules is not readable
Based on patch by Patrila.
2016-12-24 10:41:37 +00:00
Xavier de Gaye
69598527c7 Issue #28683: Merge 3.6. 2016-12-14 11:54:49 +01:00
Xavier de Gaye
e88ed05006 Issue #28683: Fix the tests that bind() a unix socket and raise PermissionError
on Android for a non-root user.
2016-12-14 11:52:28 +01:00
Xavier de Gaye
d0c2b5b0ae Issue #26936: Fix the test_socket failures on Android - getservbyname(),
getservbyport() and getaddrinfo() are broken on some Android API levels.
2016-12-13 09:22:01 +01:00
Xavier de Gaye
daa9e239f0 Merge 3.6 2016-11-13 19:42:09 +01:00
Xavier de Gaye
f056b04eea Merge 3.5 2016-11-13 19:41:07 +01:00
Xavier de Gaye
547c1b9ace Fix temporary file not deleted in test_socket 2016-11-13 19:39:48 +01:00
Martin Panter
ea8762cae6 Merge test suite fixes from 3.6 2016-10-20 22:36:18 +00:00
Martin Panter
10f29c9037 Issue #28471: Avoid ResourceWarning by detaching test socket 2016-10-20 07:44:29 +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
Berker Peksag
d261cb6229 Issue #20254: Merge from 3.5 2016-10-02 11:40:10 +03:00
Berker Peksag
480b069270 Issue #20254: Fix duplicate tests in test_socket
Patch by Vajrasky Kok.
2016-10-02 11:39:41 +03:00
Berker Peksag
5d625cff07 Issue #26384: Merge from 3.5 2016-09-17 23:23:13 +03:00
Berker Peksag
bcfb35f80d Issue #26384: Fix UnboundLocalError in socket._sendfile_use_sendfile 2016-09-17 23:22:06 +03:00
Christian Heimes
e084f84a66 Issue 27744: test_aes_cbc is blocking x86-64 Ubuntu 15.10 Skylake CPU 3.x for a while. Require Kernel 4.3+ for now 2016-09-11 20:11:30 +02:00
Christian Heimes
49aed7b782 Issue #28078: Add missing colon 2016-09-11 20:03:46 +02:00
Christian Heimes
02b3035bc3 Issue #28078: Silence resource warnings in test_socket. Initial patch by Xiang Zhang, thanks 2016-09-11 19:49:56 +02:00
Christian Heimes
407380f63f Issue 27744: skip test if AF_ALG socket bind fails 2016-09-06 11:14:09 +02:00
Christian Heimes
04960a21fb Issue 27744: AES-CBC and DRBG need Kernel 3.19+ 2016-09-06 00:58:47 +02:00
Christian Heimes
4837141def Issue 27744: Check for AF_ALG support in Kernel 2016-09-06 00:37:46 +02:00
Christian Heimes
dffa3949c7 Issue #27744: Add AF_ALG (Linux Kernel crypto) to socket module. 2016-09-05 23:54:41 +02:00
Martin Panter
02b75abf73 Merge spelling and grammar fixes from 3.5 2016-08-05 01:51:39 +00:00
Martin Panter
69332c1a64 Fix spelling and grammar in documentation and code comments 2016-08-04 13:07:31 +00:00
Berker Peksag
ce4271a3e5 Issue #26536: Skip test_sio_loopback_fast_path under Windows 7 2016-06-18 16:10:07 +03:00
Steve Dower
ea93ac013d Issue #26536: socket.ioctl now supports SIO_LOOPBACK_FAST_PATH. Patch by Daniel Stokes. 2016-06-17 12:52:18 -07:00
Martin Panter
0b7d84de6b Issue #27171: Merge typo fixes from 3.5 2016-06-02 10:11:18 +00:00
Martin Panter
e26da7c03a Issue #27171: Fix typos in documentation, comments, and test function names 2016-06-02 10:07:09 +00:00
Martin Panter
e514093a2f Issue #27125: Merge typo fixes from 3.5 2016-05-30 05:24:49 +00:00
Martin Panter
a90a4a9651 Issue #27125: Remove duplicated words from documentation and comments 2016-05-30 04:04:50 +00:00
Martin Panter
3e04d5b306 Issue #27076: Merge spelling from 3.5 2016-05-26 06:03:19 +00:00
Martin Panter
46f50726a0 Issue #27076: Doc, comment and tests spelling fixes
Most fixes to Doc/ and Lib/ directories by Ville Skyttä.
2016-05-26 05:35:26 +00:00
Serhiy Storchaka
e437a10d15 Issue #23277: Remove unused imports in tests. 2016-04-24 21:41:02 +03:00
Martin Panter
50ab1a3694 Issue #26685: Raise OSError if closing a socket fails 2016-04-11 00:38:12 +00:00
Berker Peksag
31a252b7f3 Issue #16915: Clarify that mode parameter of socket.makefile() does not accept
the same values as open().
2016-02-18 17:34:32 +02:00
Berker Peksag
3fe64d0c5c Issue #16915: Clarify that mode parameter of socket.makefile() does not accept
the same values as open().
2016-02-18 17:34:00 +02:00
Brett Cannon
3bbad12b5b Tweak skipping message 2015-12-28 17:21:44 -08:00
Brett Cannon
3c61a448f1 Issue #24725: Skip the test_socket.testFDPassEmpty on OS X.
In OS X 10.11, the test fails consistently due to a platform change
since 10.10. Thanks to Jeff Ramnani for the patch.
2015-12-28 17:17:58 -08:00
Serhiy Storchaka
a84f6c3dd3 Issue #25523: Merge a-to-an corrections from 3.4. 2015-11-02 14:39:05 +02:00
Serhiy Storchaka
d65c9496da Issue #25523: Further a-to-an corrections. 2015-11-02 14:10:23 +02:00
Benjamin Peterson
2775d85d55 merge 3.4 (#25471) 2015-10-24 20:07:08 -07:00
Benjamin Peterson
d9dbf49383 accepted sockets shouldn't inherit the SOCK_NONBLOCK flag (closes #25471) 2015-10-24 20:06:04 -07:00
Victor Stinner
900db26d34 Merge 3.4 (test_socket, issue #25138) 2015-09-21 09:04:17 +02:00
Victor Stinner
808d6416e3 Issue #25138: test_socket.test_idna() uses support.transient_internet() instead
of catching socket.EAI_NODATA error which doesn't exist on FreeBSD.
2015-09-21 09:04:01 +02:00
Robert Collins
43cbbe21a7 Issue #22397: Skip failing tests on AIX
Patch from David Edelsohn.
2015-08-03 10:36:04 +12:00