summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_asyncio/test_pep492.py
Commit message (Collapse)AuthorAgeFilesLines
* gh-127949: deprecate `asyncio.set_event_loop_policy` (#128024)Kumar Aditya2024-12-181-1/+1
| | | | First step towards deprecating the asyncio policy system. This deprecates `asyncio.set_event_loop_policy` and will be removed in Python 3.16.
* gh-122858: Deprecate `asyncio.iscoroutinefunction` (#122875)Wulian2024-08-111-2/+2
| | | | | Deprecate `asyncio.iscoroutinefunction` in favor of `inspect.iscoroutinefunction`. Co-authored-by: Kumar Aditya <kumaraditya@python.org>
* gh-114091: Reword error message for unawaitable types (#114090)Steele Farnsworth2024-06-171-1/+1
| | | | | Reword error message for unawaitable types.
* GH-102748: remove legacy support for generator based coroutines from ↵Kumar Aditya2023-03-161-0/+6
| | | | | `asyncio.iscoroutine` (#102749) Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* bpo-43216: Remove @asyncio.coroutine (GH-26369)Illia Volochii2021-07-011-14/+0
| | | | | | | | | Remove the @asyncio.coroutine decorator enabling legacy generator-based coroutines to be compatible with async/await code; remove asyncio.coroutines.CoroWrapper used for wrapping legacy coroutine objects in the debug mode. The decorator has been deprecated since Python 3.8 and the removal was initially scheduled for Python 3.10.
* bpo-42392: Remove loop parameter form asyncio locks and Queue (#23420)Yurii Karabas2020-11-241-14/+12
| | | Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
* bpo-34793: Drop old-style context managers in asyncio.locks (GH-17533)Andrew Svetlov2020-02-011-7/+6
|
* bpo-38242: Revert "bpo-36889: Merge asyncio streams (GH-13251)" (#16482)Yury Selivanov2019-09-301-5/+3
| | | See https://bugs.python.org/issue38242 for more details
* bpo-38107: Replace direct future and task contructor calls with factories in ↵Andrew Svetlov2019-09-111-1/+1
| | | | asyncio tests (GH-15928)
* bpo-38066: Hide internal Stream methods (GH-15762)Andrew Svetlov2019-09-101-2/+2
| | | | | | feed_eof(), feed_data(), set_exception(), and set_transport() are prefixed with underscore now. https://bugs.python.org/issue38066
* bpo-36373: Deprecate explicit loop parameter in all public asyncio APIs ↵Emmanuel Arias2019-09-101-12/+14
| | | | | | | | | | | | | | | [locks] (GH-13920) This PR deprecate explicit loop parameters in all public asyncio APIs This issues is split to be easier to review. Third step: locks.py https://bugs.python.org/issue36373
* Remove unused imports in tests (GH-14518)Victor Stinner2019-07-011-1/+0
|
* bpo-36889: Merge asyncio streams (GH-13251)Andrew Svetlov2019-05-271-1/+3
| | | https://bugs.python.org/issue36889
* bpo-36921: Deprecate @coroutine for sake of async def (GH-13346)Andrew Svetlov2019-05-161-3/+4
| | | | | | The second attempt. Now deprecate `@coroutine` only, keep `yield from fut` as is. https://bugs.python.org/issue36921
* bpo-36884: Fix DeprecationWarning in test_asyncio StreamReader instantiation ↵Xtreak2019-05-111-1/+1
| | | | | (GH-13243) https://bugs.python.org/issue36884
* bpo-34728: Fix asyncio tests to run under "-Werror" (GH-9661)Yury Selivanov2018-10-021-6/+6
|
* bpo-33562: Check the global asyncio event loop policy isn't set after any ↵Brett Cannon2018-06-021-0/+4
| | | | tests (GH-7328)
* bpo-32591: Add native coroutine origin tracking (#5250)Nathaniel J. Smith2018-01-211-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-32357: Fix tests in refleak mode (#4989)Yury Selivanov2017-12-231-7/+15
|
* bpo-32273: Move asyncio.test_utils to test.test_asyncio (#4785)Yury Selivanov2017-12-111-5/+2
|
* bpo-32253: Deprecate with statement and bare await for asyncio locks (GH-4764)Andrew Svetlov2017-12-091-6/+7
| | | | | * Add test for 'with (yield from lock)' * Deprecate with statement for asyncio locks * Document the deprecation
* bpo-29919: Remove unused imports found by pyflakes (#137)Victor Stinner2017-03-271-1/+0
| | | Make also minor PEP8 coding style fixes on modified imports.
* Issue #28613: Fix get_event_loop() to return the current loopYury Selivanov2016-11-041-0/+1
| | | | when called from coroutines or callbacks.
* Sync asyncio with upstream git repo (conditional import in test_pep492.py).Guido van Rossum2015-12-131-1/+4
|
* asyncio: Error if awaiting in parallel on the same coroutineYury Selivanov2015-11-181-0/+20
| | | | See https://github.com/python/asyncio/pull/293 for details.
* Issue #24867: Fix asyncio.Task.get_stack() for 'async def' coroutinesYury Selivanov2015-08-171-0/+17
|
* asyncio.test_pep492: Add a test for asyncio.iscoroutinefunctionYury Selivanov2015-08-051-0/+4
|
* Issue #24325, #24400: Add more unittests for types.coroutine; tweak wrapper ↵Yury Selivanov2015-06-241-0/+19
| | | | implementation.
* Issue #24495, #24400: Test asyncio.Task.repr in debug modeYury Selivanov2015-06-241-0/+7
|
* Fix asyncio unittests in debug modeYury Selivanov2015-06-241-1/+1
|
* Issue #24400: Fix CoroWrapper for 'async def' coroutinesYury Selivanov2015-06-241-1/+24
|
* Issue 24017: Add a test for CoroWrapper and 'async def' coroutinesYury Selivanov2015-06-011-0/+14
|
* Issue 24004: Fix DeprecationWarning in a unittestYury Selivanov2015-05-311-1/+1
|
* Issue 24004: Add a unittest for @asyncio.coroutine supporting AwaitablesYury Selivanov2015-05-311-0/+13
|
* Issue 24315: Make collections.abc.Coroutine derived from AwaitableYury Selivanov2015-05-291-9/+5
|
* asyncio/tests: Drop unused import.Yury Selivanov2015-05-131-1/+0
|
* asyncio: Add a test for asyncio.iscoroutine().Yury Selivanov2015-05-131-0/+29
| | | | | Test that asyncio.iscoroutine() supports 'async def' coroutines and collections.abc.Coroutine types.
* Issue 24179: Support 'async for' for asyncio.StreamReader.Yury Selivanov2015-05-131-0/+19
|
* Issue 24178: support 'async with' for asyncio locks.Yury Selivanov2015-05-131-0/+68