Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | GH-109067: fix randomly failing `test_async_gen_asyncio_gc_aclose_09` test ↵ | Kumar Aditya | 2023-09-08 | 1 | -3/+5 |
| | | | | | (#109142) Use `asyncio.sleep(0)` instead of short sleeps. | ||||
* | GH-89091: raise `RuntimeWarning` for unawaited async generator methods (#104611) | Kumar Aditya | 2023-05-26 | 1 | -2/+36 |
| | |||||
* | gh-102515: Remove unused imports in the `Lib/` directory (#102516) | Alex Waygood | 2023-03-08 | 1 | -1/+0 |
| | |||||
* | gh-94808: [coverage] Add an asynchronous generator test where the generator ↵ | zhanpon | 2022-11-24 | 1 | -0/+13 |
| | | | | is already running (#97672) | ||||
* | gh-96348: Deprecate the 3-arg signature of coroutine.throw and ↵ | Ofey Chan | 2022-09-30 | 1 | -7/+15 |
| | | | | generator.throw (GH-96428) | ||||
* | bpo-40280: Skip socket, fork, subprocess tests on Emscripten (GH-31986) | Christian Heimes | 2022-03-22 | 1 | -1/+3 |
| | | | | | | | | | | | - Add requires_fork and requires_subprocess to more tests - Skip extension import tests if dlopen is not available - Don't assume that _testcapi is a shared extension - Skip a lot of socket tests that don't work on Emscripten - Skip mmap tests, mmap emulation is incomplete - venv does not work yet - Cannot get libc from executable The "entire" test suite is now passing on Emscripten with EMSDK from git head (91 suites are skipped). | ||||
* | bpo-44963: Implement send() and throw() methods for anext_awaitable objects ↵ | Pablo Galindo Salgado | 2021-09-07 | 1 | -0/+172 |
| | | | | | (GH-27955) Co-authored-by: Yury Selivanov <yury@edgedb.com> | ||||
* | bpo-45097: Add more tests for shutdown_asyncgens() (GH-28154) | Serhiy Storchaka | 2021-09-04 | 1 | -0/+79 |
| | |||||
* | bpo-25130: Add calls of gc.collect() in tests to support PyPy (GH-28005) | Serhiy Storchaka | 2021-08-29 | 1 | -0/+2 |
| | |||||
* | bpo-43751: Fix anext() bug where it erroneously returned None (GH-25238) | Dennis Sweeney | 2021-04-11 | 1 | -5/+135 |
| | |||||
* | bpo-31861: Add aiter and anext to builtins (#23847) | Joshua Bronson | 2021-03-23 | 1 | -0/+82 |
| | | | | | | Co-authored-by: jab <jab@users.noreply.github.com> Co-authored-by: Daniel Pope <mauve@mauveweb.co.uk> Co-authored-by: Justin Wang <justin39@gmail.com> | ||||
* | bpo-40275: Use new test.support helper submodules in tests (GH-21448) | Hai Shi | 2020-08-03 | 1 | -1/+1 |
| | |||||
* | bpo-39764: Make Task.get_stack accept ag_frame (#18669) | Lidi Zheng | 2020-03-02 | 1 | -0/+15 |
| | | | | Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com> | ||||
* | bpo-39606: allow closing async generators that are already closed (GH-18475) | Nathaniel J. Smith | 2020-02-13 | 1 | -2/+28 |
| | | | | | | | | | | | | | | The fix for [bpo-39386](https://bugs.python.org/issue39386) attempted to make it so you couldn't reuse a agen.aclose() coroutine object. It accidentally also prevented you from calling aclose() at all on an async generator that was already closed or exhausted. This commit fixes it so we're only blocking the actually illegal cases, while allowing the legal cases. The new tests failed before this patch. Also confirmed that this fixes the test failures we were seeing in Trio with Python dev builds: https://github.com/python-trio/trio/pull/1396 https://bugs.python.org/issue39606 | ||||
* | bpo-39386: Prevent double awaiting of async iterator (GH-18081) | Andrew Svetlov | 2020-01-20 | 1 | -0/+36 |
| | |||||
* | bpo-35409: Ignore GeneratorExit in async_gen_athrow_throw (GH-14755) | Vincent Michel | 2019-11-19 | 1 | -0/+27 |
| | | | | | | | | | Ignore `GeneratorExit` exceptions when throwing an exception into the `aclose` coroutine of an asynchronous generator. https://bugs.python.org/issue35409 | ||||
* | bpo-30773: Fix ag_running; prohibit running athrow/asend/aclose in parallel ↵ | Yury Selivanov | 2019-09-30 | 1 | -62/+16 |
| | | | | (#7468) | ||||
* | bpo-38013: make async_generator_athrow object tolerant to throwing ↵ | Andrew Svetlov | 2019-09-17 | 1 | -0/+22 |
| | | | | | | | | | | | | exceptions (GH-16070) Even when the helper is not started yet. This behavior follows conventional generator one. There is no reason for `async_generator_athrow` to handle `gen.throw()` differently. https://bugs.python.org/issue38013 | ||||
* | bpo-34728: Fix asyncio tests to run under "-Werror" (GH-9661) | Yury Selivanov | 2018-10-02 | 1 | -48/+48 |
| | |||||
* | bpo-33786: Fix asynchronous generators to handle GeneratorExit in athrow() ↵ | Yury Selivanov | 2018-06-08 | 1 | -0/+56 |
| | | | | (GH-7467) | ||||
* | bpo-33562: Check the global asyncio event loop policy isn't set after any ↵ | Brett Cannon | 2018-06-02 | 1 | -0/+1 |
| | | | | tests (GH-7328) | ||||
* | bpo-31708: Allow async generator expressions in synchronous functions (#3905) | Yury Selivanov | 2017-10-06 | 1 | -0/+32 |
| | |||||
* | bpo-29919: Remove unused imports found by pyflakes (#137) | Victor Stinner | 2017-03-27 | 1 | -2/+0 |
| | | | Make also minor PEP8 coding style fixes on modified imports. | ||||
* | Remove unused imports. | Serhiy Storchaka | 2016-12-16 | 1 | -1/+0 |
| | |||||
* | Issue #28721: Fix asynchronous generators aclose() and athrow() | Yury Selivanov | 2016-11-16 | 1 | -0/+140 |
| | |||||
* | Issue #23996: Added _PyGen_SetStopIterationValue for safe raising | Serhiy Storchaka | 2016-11-06 | 1 | -0/+79 |
| | | | | | StopIteration with value. More safely handle non-normalized exceptions in -_PyGen_FetchStopIterationValue. | ||||
* | Issue #28480: Adjust or skip tests if multithreading is disabled | Martin Panter | 2016-10-20 | 1 | -1/+3 |
| | |||||
* | Issue #28003: Implement PEP 525 -- Asynchronous Generators. | Yury Selivanov | 2016-09-09 | 1 | -0/+823 |