Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-31479: Always reset the signal alarm in tests (#3588) | Victor Stinner | 2017-09-19 | 1 | -9/+14 |
| | | | | | | | | | | | | | * bpo-31479: Always reset the signal alarm in tests Use "try: ... finally: signal.signal(0)" pattern to make sure that tests don't "leak" a pending fatal signal alarm. * Move two more alarm() calls into the try block Fix also typo: replace signal.signal(0) with signal.alarm(0) * Move another signal.alarm() into the try block | ||||
* | bpo-31234: Add test.support.wait_threads_exit() (#3578) | Victor Stinner | 2017-09-14 | 1 | -0/+4 |
| | | | | Use _thread.count() to wait until threads exit. The new context manager prevents the "dangling thread" warning. | ||||
* | bpo-29639: change test.support.HOST to "localhost" | Gregory P. Smith | 2017-09-09 | 1 | -2/+2 |
| | | | | | | | | | | test.support.HOST should be "localhost" as it was in the past. See the bpo-29639. Tests that need the IP address should use HOSTv4 (added) or the existing HOSTv6 constant. This changes the definition and fixes tests that needed updating to deal with HOST being the hostname rather than the hardcoded IP address. This is only the first step in addressing https://bugs.python.org/issue29639. | ||||
* | bpo-31370: Remove support for threads-less builds (#3385) | Antoine Pitrou | 2017-09-07 | 1 | -51/+18 |
| | | | | | | * Remove Setup.config * Always define WITH_THREAD for compatibility. | ||||
* | bpo-27584: New addition of vSockets to the python socket module (#2489) | caavery | 2017-09-06 | 1 | -0/+107 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * bpo-27584: New addition of vSockets to the python socket module Support for AF_VSOCK on Linux only * bpo-27584: Fixes for V2 Fixed syntax and naming problems. Fixed #ifdef AF_VSOCK checking Restored original aclocal.m4 * bpo-27584: Fixes for V3 Added checking for fcntl and thread modules. * bpo-27584: Fixes for V4 Fixed white space error * bpo-27584: Fixes for V5 Added back comma in (CID, port). * bpo-27584: Fixes for V6 Added news file. socket.rst now reflects first Linux introduction of AF_VSOCK. Fixed get_cid in test_socket.py. Replaced PyLong_FromLong with PyLong_FromUnsignedLong in socketmodule.c Got rid of extra AF_VSOCK #define. Added sockaddr_vm to sock_addr. * bpo-27584: Fixes for V7 Minor cleanup. * bpo-27584: Fixes for V8 Put back #undef AF_VSOCK as it is necessary when vm_sockets.h is not installed. | ||||
* | bpo-30987 - Support for ISO-TP protocol in SocketCAN (#2956) | Pier-Yves Lessard | 2017-08-28 | 1 | -0/+55 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Added support for CAN_ISOTP protocol * Added unit tests for CAN ISOTP * Updated documentation for ISO-TP protocol * Removed trailing whitespace in documentation * Added blurb NEWS.d file * updated Misc/ACKS * Fixed broken unit test that was using isotp const outside of skippable section * Removed dependecy over third party project * Added implementation for getsockname + unit tests * Missing newline at end of ACKS file * Accidentally inserted a type in ACKS file * Followed tiran changes review #1 recommendations * Added spaces after comma | ||||
* | Fix tests: getsockname() can return None on OS X on unbound sockets (#1400) | Antoine Pitrou | 2017-05-02 | 1 | -2/+2 |
| | |||||
* | bpo-30205: Fix getsockname() for unbound AF_UNIX sockets on Linux (#1370) | Antoine Pitrou | 2017-05-02 | 1 | -0/+4 |
| | | | | | | * bpo-30205: Fix getsockname() for unbound AF_UNIX sockets on Linux * Add NEWS entry | ||||
* | bpo-29972: Skip tests known to fail on AIX (#979) | Victor Stinner | 2017-04-04 | 1 | -3/+7 |
| | | | | | | | | | | | | | | | | | | | | | | * bpo-29972: Fix test_eintr on AIX On AIX, sigtimedwait(0.2) sleeps 199.8 ms, whereas the test expects 200 ms or longer. * bpo-29972: Skip some inet_pton() tests on AIX Skip some inet_pton() tests of test_socket on AIX. inet_pton() on AIX is less strict than on Linux and doesn't reject some invalid IP addresses. The unit tests test more the libc than Python itself. * bpo-29972: Skip tests known to fail on AIX * test_locale.test_strcoll_with_diacritic() * test_locale.test_strxfrm_with_diacritic() * test_strptime.test_week_of_year_and_day_of_week_calculation() * test_tools.test_POT_Creation_Date() | ||||
* | bpo-29845: Mark tests that use _testcapi as CPython-only (#711) | Serhiy Storchaka | 2017-03-19 | 1 | -0/+1 |
| | |||||
* | bpo-28728: clarify possible test failure due to ISP (GH-412) | Xiang Zhang | 2017-03-07 | 1 | -5/+15 |
| | |||||
* | update test_socket AEAD test for kernel 4.9 and up (#133) | matejcik | 2017-02-16 | 1 | -8/+7 |
| | |||||
* | Issue #28815: Merge test tweak from 3.6 | Martin Panter | 2017-01-08 | 1 | -7/+3 |
|\ | |||||
| * | Issue #28815: Merge test tweak from 3.5 | Martin Panter | 2017-01-08 | 1 | -7/+3 |
| |\ | |||||
| | * | Issue #28815: Use new exception subclasses | Martin Panter | 2017-01-08 | 1 | -7/+3 |
| | | | |||||
* | | | Issue #28815: Merge test_socket fix from 3.6 | Martin Panter | 2016-12-24 | 1 | -3/+11 |
|\ \ \ | |/ / | |||||
| * | | Issue #28815: Merge test_socket fix from 3.5 | Martin Panter | 2016-12-24 | 1 | -3/+11 |
| |\ \ | | |/ | |||||
| | * | Issue #28815: Skip TIPC tests if /proc/modules is not readable | Martin Panter | 2016-12-24 | 1 | -3/+11 |
| | | | | | | | | | | | | Based on patch by Patrila. | ||||
* | | | Issue #28683: Merge 3.6. | Xavier de Gaye | 2016-12-14 | 1 | -6/+15 |
|\ \ \ | |/ / | |||||
| * | | Issue #28683: Fix the tests that bind() a unix socket and raise PermissionError | Xavier de Gaye | 2016-12-14 | 1 | -6/+15 |
| | | | | | | | | | | | | on Android for a non-root user. | ||||
* | | | Issue #26936: Fix the test_socket failures on Android - getservbyname(), | Xavier de Gaye | 2016-12-13 | 1 | -4/+12 |
| | | | | | | | | | | | | getservbyport() and getaddrinfo() are broken on some Android API levels. | ||||
* | | | Merge 3.6 | Xavier de Gaye | 2016-11-13 | 1 | -1/+2 |
|\ \ \ | |/ / | |||||
| * | | Merge 3.5 | Xavier de Gaye | 2016-11-13 | 1 | -1/+2 |
| |\ \ | | |/ | |||||
| | * | Fix temporary file not deleted in test_socket | Xavier de Gaye | 2016-11-13 | 1 | -1/+2 |
| | | | |||||
* | | | Merge test suite fixes from 3.6 | Martin Panter | 2016-10-20 | 1 | -0/+1 |
|\ \ \ | |/ / | |||||
| * | | Issue #28471: Avoid ResourceWarning by detaching test socket | Martin Panter | 2016-10-20 | 1 | -0/+1 |
| | | | |||||
* | | | Merge 3.6 (issue #28471) | Yury Selivanov | 2016-10-18 | 1 | -0/+12 |
|\ \ \ | |/ / | |||||
| * | | Issue #28471: Fix crash (GIL state related) in socket.setblocking | Yury Selivanov | 2016-10-18 | 1 | -0/+12 |
| | | | |||||
* | | | Issue #28332: Deprecated silent truncations in socket.htons and socket.ntohs. | Serhiy Storchaka | 2016-10-02 | 1 | -8/+18 |
|/ / | | | | | | | Original patch by Oren Milman. | ||||
* | | Issue #20254: Merge from 3.5 | Berker Peksag | 2016-10-02 | 1 | -2/+4 |
|\ \ | |/ | |||||
| * | Issue #20254: Fix duplicate tests in test_socket | Berker Peksag | 2016-10-02 | 1 | -2/+4 |
| | | | | | | | | Patch by Vajrasky Kok. | ||||
* | | Issue #26384: Merge from 3.5 | Berker Peksag | 2016-09-17 | 1 | -0/+19 |
|\ \ | |/ | |||||
| * | Issue #26384: Fix UnboundLocalError in socket._sendfile_use_sendfile | Berker Peksag | 2016-09-17 | 1 | -0/+19 |
| | | |||||
* | | Issue 27744: test_aes_cbc is blocking x86-64 Ubuntu 15.10 Skylake CPU 3.x ↵ | Christian Heimes | 2016-09-11 | 1 | -3/+5 |
| | | | | | | | | for a while. Require Kernel 4.3+ for now | ||||
* | | Issue #28078: Add missing colon | Christian Heimes | 2016-09-11 | 1 | -1/+1 |
| | | |||||
* | | Issue #28078: Silence resource warnings in test_socket. Initial patch by ↵ | Christian Heimes | 2016-09-11 | 1 | -11/+15 |
| | | | | | | | | Xiang Zhang, thanks | ||||
* | | Issue 27744: skip test if AF_ALG socket bind fails | Christian Heimes | 2016-09-06 | 1 | -1/+5 |
| | | |||||
* | | Issue 27744: AES-CBC and DRBG need Kernel 3.19+ | Christian Heimes | 2016-09-05 | 1 | -0/+2 |
| | | |||||
* | | Issue 27744: Check for AF_ALG support in Kernel | Christian Heimes | 2016-09-05 | 1 | -1/+14 |
| | | |||||
* | | Issue #27744: Add AF_ALG (Linux Kernel crypto) to socket module. | Christian Heimes | 2016-09-05 | 1 | -0/+165 |
| | | |||||
* | | Merge spelling and grammar fixes from 3.5 | Martin Panter | 2016-08-05 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Fix spelling and grammar in documentation and code comments | Martin Panter | 2016-08-04 | 1 | -1/+1 |
| | | |||||
* | | Issue #26536: Skip test_sio_loopback_fast_path under Windows 7 | Berker Peksag | 2016-06-18 | 1 | -2/+8 |
| | | |||||
* | | Issue #26536: socket.ioctl now supports SIO_LOOPBACK_FAST_PATH. Patch by ↵ | Steve Dower | 2016-06-17 | 1 | -0/+10 |
| | | | | | | | | Daniel Stokes. | ||||
* | | Issue #27171: Merge typo fixes from 3.5 | Martin Panter | 2016-06-02 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Issue #27171: Fix typos in documentation, comments, and test function names | Martin Panter | 2016-06-02 | 1 | -1/+1 |
| | | |||||
* | | Issue #27125: Merge typo fixes from 3.5 | Martin Panter | 2016-05-30 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Issue #27125: Remove duplicated words from documentation and comments | Martin Panter | 2016-05-30 | 1 | -1/+1 |
| | | |||||
* | | Issue #27076: Merge spelling from 3.5 | Martin Panter | 2016-05-26 | 1 | -2/+2 |
|\ \ | |/ | |||||
| * | Issue #27076: Doc, comment and tests spelling fixes | Martin Panter | 2016-05-26 | 1 | -2/+2 |
| | | | | | | | | Most fixes to Doc/ and Lib/ directories by Ville Skyttä. |