Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | bpo-33332: Add signal.valid_signals() (GH-6581) | Antoine Pitrou | 2018-05-04 | 1 | -0/+12 | |
| | ||||||
* | bpo-32517: fix test_read_pty_output() hangs on macOS 10.13.2+ (GH-6037) ↵ | Ned Deily | 2018-03-27 | 1 | -1/+1 | |
| | | | | | | | | | | | | (GH-6113) test_asyncio hangs indefinitely on macOS 10.13.2+ on `read_pty_output()` using the KqueueSelector. Closing `proto.transport` (as is done in `write_pty_output()`) seems to fix it. (cherry picked from commit 12f74d8608c15cacd9d5786524e2be9ca36f007e) Co-authored-by: Nathan Henrie <n8henrie@users.noreply.github.com> Also, re-enable test_read_pty_output on macOS. | |||||
* | bpo-33037: Skip sending/receiving after SSL transport closing (GH-6044) | Andrew Svetlov | 2018-03-10 | 1 | -20/+37 | |
| | | | | * Skip write()/data_received() if sslpipe is destroyed | |||||
* | bpo-32947: OpenSSL 1.1.1-pre1 / TLS 1.3 fixes (#5663) | Christian Heimes | 2018-02-27 | 1 | -0/+2 | |
| | | | | | | | | | | | | | | | | | | * bpo-32947: OpenSSL 1.1.1-pre1 / TLS 1.3 fixes Misc fixes and workarounds for compatibility with OpenSSL 1.1.1-pre1 and TLS 1.3 support. With OpenSSL 1.1.1, Python negotiates TLS 1.3 by default. Some test cases only apply to TLS 1.2. Other tests currently fail because the threaded or async test servers stop after failure. I'm going to address these issues when OpenSSL 1.1.1 reaches beta. OpenSSL 1.1.1 has added a new option OP_ENABLE_MIDDLEBOX_COMPAT for TLS 1.3. The feature is enabled by default for maximum compatibility with broken middle boxes. Users should be able to disable the hack and CPython's test suite needs it to verify default options. Signed-off-by: Christian Heimes <christian@python.org> | |||||
* | bpo-32622: Native sendfile on windows (#5565) | Andrew Svetlov | 2018-02-25 | 3 | -90/+277 | |
| | | | * Support sendfile on Windows Proactor event loop naively. | |||||
* | bpo-32841: Fix cancellation in awaiting asyncio.Condition (#5665) | Bar Harel | 2018-02-14 | 1 | -4/+27 | |
| | ||||||
* | bpo-31787: Prevent refleaks when calling __init__() more than once (GH-3995) | Oren Milman | 2018-02-13 | 1 | -0/+14 | |
| | ||||||
* | bpo-32734: Fix asyncio.Lock multiple acquire safety issue (GH-5466) | Bar Harel | 2018-02-02 | 1 | -0/+50 | |
| | ||||||
* | Implement TimerHandle.when() (#5473) | Andrew Svetlov | 2018-02-01 | 1 | -0/+6 | |
| | ||||||
* | bpo-23749: Make start-tls tests more stable on win7 buildbot (GH-5409) | Yury Selivanov | 2018-01-29 | 1 | -2/+10 | |
| | | | | | | | To mitigate the situation when the buildbot is under load and is unable to send/receive data fast enough: * reduce the size of the payload * set a generous timeout for socket ops | |||||
* | bpo-32251: Implement asyncio.BufferedProtocol. (#4755) | Yury Selivanov | 2018-01-28 | 3 | -3/+450 | |
| | ||||||
* | bpo-32327: Revert loop.run_in_executor behaviour: return a Future. (#5392) | Yury Selivanov | 2018-01-28 | 1 | -3/+2 | |
| | | | | I've run some tests on 3.7 asyncio and it appears that too many things assume that run_in_executor returns a Future. | |||||
* | Fix tests if Python compiled without SSL (#5367) | Andrew Svetlov | 2018-01-27 | 1 | -0/+2 | |
| | ||||||
* | bpo-32622: Enforce sendfile fallback policy for FALLBACK transports (#5364) | Yury Selivanov | 2018-01-27 | 1 | -0/+9 | |
| | ||||||
* | bpo-32622: Implement loop.sendfile() (#5271) | Andrew Svetlov | 2018-01-27 | 2 | -4/+308 | |
| | ||||||
* | bpo-32630: Use contextvars in decimal (GH-5278) | Yury Selivanov | 2018-01-27 | 1 | -0/+29 | |
| | ||||||
* | bpo-31399: Let OpenSSL verify hostname and IP address (#3462) | Christian Heimes | 2018-01-27 | 1 | -2/+4 | |
| | | | | | | | | | | | | | | | bpo-31399: Let OpenSSL verify hostname and IP The ssl module now uses OpenSSL's X509_VERIFY_PARAM_set1_host() and X509_VERIFY_PARAM_set1_ip() API to verify hostname and IP addresses. * Remove match_hostname calls * Check for libssl with set1_host, libssl must provide X509_VERIFY_PARAM_set1_host() * Add documentation for OpenSSL 1.0.2 requirement * Don't support OpenSSL special mode with a leading dot, e.g. ".example.org" matches "www.example.org". It's not standard conform. * Add hostname_checks_common_name Signed-off-by: Christian Heimes <christian@python.org> | |||||
* | bpo-32662: Try making test_asyncio.test_server more reliable (#5338) | Yury Selivanov | 2018-01-26 | 1 | -1/+12 | |
| | ||||||
* | bpo-32574: Fix leaks in asyncio.Queue.put() and .get() (#5208) | José Melero Fernández | 2018-01-25 | 1 | -0/+50 | |
| | ||||||
* | bpo-32662: Implement Server.start_serving() and Server.serve_forever() (#5312) | Yury Selivanov | 2018-01-25 | 1 | -0/+117 | |
| | | | | | | | | | | | | | * bpo-32662: Implement Server.start_serving() and Server.serve_forever() New methods: * Server.start_serving(), * Server.serve_forever(), and * Server.is_serving(). Add 'start_serving' keyword parameter to loop.create_server() and loop.create_unix_server(). | |||||
* | bpo-32391: Implement StreamWriter.wait_closed() (#5281) | Andrew Svetlov | 2018-01-24 | 1 | -1/+30 | |
| | ||||||
* | bpo-32636: Fix two bugs in test_asyncio (#5302) | Victor Stinner | 2018-01-24 | 2 | -1/+2 | |
| | ||||||
* | bpo-32636: Fix @asyncio.coroutine debug mode bug exposed by gh-5250 (#5291) | Nathaniel J. Smith | 2018-01-24 | 1 | -0/+17 | |
| | ||||||
* | bpo-32410: Improve sock_sendfile tests (#5294) | Andrew Svetlov | 2018-01-24 | 1 | -16/+19 | |
| | | | | | * Rename sock_sendfile test methods * Make sock_sendfile tests more stable | |||||
* | bpo-32643: Drop support for a few private Task and Future APIs. (#5293) | Yury Selivanov | 2018-01-24 | 2 | -29/+3 | |
| | | | | | | | | Specifically, it's not possible to subclass Task/Future classes and override the following methods: * Future._schedule_callbacks * Task._step * Task._wakeup | |||||
* | bpo-32633: Fix some warnings in test_asyncio.test_tasks (#5280) | Nathaniel J. Smith | 2018-01-23 | 1 | -2/+8 | |
| | ||||||
* | bpo-32436: Implement PEP 567 (#5027) | Yury Selivanov | 2018-01-23 | 4 | -23/+118 | |
| | ||||||
* | bpo-32593: Drop FreeBSD 9 and older support (#5232) | Victor Stinner | 2018-01-22 | 1 | -2/+0 | |
| | | | Drop support of FreeBSD 9 and older. | |||||
* | bpo-32314: Fix asyncio.run() to cancel runinng tasks on shutdown (#5262) | Yury Selivanov | 2018-01-21 | 2 | -0/+87 | |
| | ||||||
* | bpo-32591: Add native coroutine origin tracking (#5250) | Nathaniel J. Smith | 2018-01-21 | 1 | -28/+8 | |
| | | | | | | * Add coro.cr_origin and sys.set_coroutine_origin_tracking_depth * Use coroutine origin information in the unawaited coroutine warning * Stop using set_coroutine_wrapper in asyncio debug mode * In BaseEventLoop.set_debug, enable debugging in the correct thread | |||||
* | bpo-32602: Test ECDSA certs (#5247) | Christian Heimes | 2018-01-20 | 1 | -11/+17 | |
| | | | | | | | | Add test certs and test for ECDSA cert and EC/RSA dual mode. I'm also adding certs for IDNA 2003/2008 tests and simplify some test data handling. Signed-off-by: Christian Heimes <christian@python.org> | |||||
* | bpo-32410: Make SendfileNotAvailableError exception public (#5243) | Andrew Svetlov | 2018-01-19 | 2 | -8/+10 | |
| | ||||||
* | bpo-32410: Implement loop.sock_sendfile() (#4976) | Andrew Svetlov | 2018-01-16 | 3 | -0/+411 | |
| | ||||||
* | Make asyncio tests run when there's no SSL module (#5196) | Yury Selivanov | 2018-01-15 | 1 | -3/+0 | |
| | ||||||
* | bpo-32458: Temporarily mask start-tls proactor test on Windows (#5054) | Yury Selivanov | 2017-12-30 | 1 | -2/+4 | |
| | ||||||
* | bpo-32418: Postfix, raise NotImplementdError and close resources in tests ↵ | Andrew Svetlov | 2017-12-30 | 1 | -2/+19 | |
| | | | | (#5052) | |||||
* | bpo-32418: Add get_loop() method on Server, AbstractServer classes (#4997) | Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి) | 2017-12-30 | 1 | -0/+13 | |
| | | | | | | * Add abstract get_loop() method to Server, AbstractServer classes. * Add test cases for get_loop() method in Server, AbstractServer classes * Add documentation for get_loop() method | |||||
* | bpo-23749: Implement loop.start_tls() (#5039) | Yury Selivanov | 2017-12-30 | 4 | -53/+488 | |
| | ||||||
* | bpo-26133: Fix typos (#5010) | Andrew Svetlov | 2017-12-26 | 1 | -0/+17 | |
| | | | | | | * Fix typos * Change warning text * Add test | |||||
* | bpo-31721: Allow Future._log_traceback to only be set to False (#5009) | Yury Selivanov | 2017-12-25 | 2 | -0/+14 | |
| | ||||||
* | bpo-32363: Disable Task.set_exception() and Task.set_result() (#4923) | Yury Selivanov | 2017-12-25 | 2 | -23/+73 | |
| | ||||||
* | bpo-32415: Fix "error is already set" (#4999) | Yury Selivanov | 2017-12-23 | 1 | -0/+26 | |
| | ||||||
* | Fix check for run_in_executor on closed loop. (#4996) | Andrew Svetlov | 2017-12-23 | 1 | -3/+7 | |
| | ||||||
* | bpo-32415: Add more tests (#4995) | Yury Selivanov | 2017-12-23 | 1 | -3/+21 | |
| | ||||||
* | bpo-32415: Add asyncio.Task.get_loop() and Future.get_loop() (#4992) | Yury Selivanov | 2017-12-23 | 2 | -5/+9 | |
| | ||||||
* | bpo-32357: Fix tests in refleak mode (#4989) | Yury Selivanov | 2017-12-23 | 2 | -23/+32 | |
| | ||||||
* | bpo-29970: Make ssh_handshake_timeout None by default (#4939) | Andrew Svetlov | 2017-12-20 | 4 | -0/+59 | |
| | | | | | * Make ssh_handshake_timeout None by default. * Raise ValueError if ssl_handshake_timeout is used without ssl. * Raise ValueError if ssl_handshake_timeout is not positive. | |||||
* | bpo-29970: Add timeout for SSL handshake in asyncio | Neil Aspinall | 2017-12-19 | 2 | -12/+35 | |
| | | | | 10 seconds by default. | |||||
* | bpo-29711: Fix stop_serving in proactor loop kill all listening servers (#431) | Julien Duponchelle | 2017-12-19 | 1 | -4/+15 | |
| | ||||||
* | bpo-32357: Optimize asyncio.iscoroutine() for non-native coroutines (#4915) | Yury Selivanov | 2017-12-19 | 1 | -0/+43 | |
| |