aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/test/test_exception_group.py
Commit message (Collapse)AuthorAge
* GH-130397: remove special-casing of C stack depth for WASI (#134469)Brett Cannon10 days
| | | | | Removed special-casing for WASI when setting C stack depth limits. Since WASI has its own C stack checking this isn't a security risk. Also disabled some tests that stopped passing. They all happened to have already been disabled under Emscripten.
* gh-71339: Use new assertion methods in tests (GH-129046)Serhiy Storchaka11 days
|
* GH-130396: Use computed stack limits on linux (GH-130398)Mark Shannon2025-02-25
| | | | | | | | | | | * Implement C recursion protection with limit pointers for Linux, MacOS and Windows * Remove calls to PyOS_CheckStack * Add stack protection to parser * Make tests more robust to low stacks * Improve error messages for stack overflow
* GH-91079: Revert "GH-91079: Implement C stack limits using addresses, not ↵Petr Viktorin2025-02-24
| | | | | | | | | counters. (GH-130007)" for now (GH130413) Revert "GH-91079: Implement C stack limits using addresses, not counters. (GH-130007)" for now Unfortunatlely, the change broke some buildbots. This reverts commit 2498c22fa0a2b560491bc503fa676585c1a603d0.
* GH-91079: Implement C stack limits using addresses, not counters. (GH-130007)Mark Shannon2025-02-19
| | | | | | | | | | | | * Implement C recursion protection with limit pointers * Remove calls to PyOS_CheckStack * Add stack protection to parser * Make tests more robust to low stacks * Improve error messages for stack overflow
* gh-127146: Emscripten: Skip segfaults in test suite (#127151)Hood Chatham2024-12-05
| | | | Added skips for tests known to cause problems when running on Emscripten. These mostly relate to the limited stack depth on Emscripten.
* gh-116303: Skip tests if C recursion limit is unavailable (GH-117368)Erlend E. Aasland2024-04-08
| | | | | The test suite fetches the C recursion limit from the _testcapi extension module. Test extension modules can be disabled using the --disable-test-modules configure option.
* GH-91079: Rename C_RECURSION_LIMIT to Py_C_RECURSION_LIMIT (#108507)Victor Stinner2023-09-08
| | | | | | | Symbols of the C API should be prefixed by "Py_" to avoid conflict with existing names in 3rd party C extensions on "#include <Python.h>". test.pythoninfo now logs Py_C_RECURSION_LIMIT constant and other _testcapi and _testinternalcapi constants.
* GH-107263: Increase C stack limit for most functions, except ↵Mark Shannon2023-08-04
| | | | | | `_PyEval_EvalFrameDefault()` (GH-107535) * Set C recursion limit to 1500, set cost of eval loop to 2 frames, and compiler mutliply to 2.
* gh-105730: support more callables in ExceptionGroup.split() and subgroup() ↵Irit Katriel2023-06-23
| | | | (#106035)
* gh-99553: add tests for ExceptionGroup wrapping (#99615)Zac Hatfield-Dodds2023-04-10
|
* gh-99553: fix bug where an ExceptionGroup subclass can wrap a BaseException ↵Irit Katriel2022-11-18
| | | | (GH-99572)
* Increase test coverage of Objects/exceptions.c (GH-94674)Irit Katriel2022-07-08
|
* gh-84623: Remove unused imports in tests (#93772)Victor Stinner2022-06-13
|
* gh-89770: Implement PEP-678 - Exception notes (GH-31317)Irit Katriel2022-04-16
|
* bpo-46927: Include the type's name in the error message for subscripting ↵Serhiy Storchaka2022-03-05
| | | | non-generic types (GH-31694)
* bpo-46729: add number of sub-exceptions in str() of BaseExceptionGroup ↵Irit Katriel2022-02-22
| | | | (GH-31294)
* bpo-46431: use raw string for regex in test (GH-30901)Irit Katriel2022-01-25
|
* bpo-46431: improve error message on invalid calls to ↵Irit Katriel2022-01-24
| | | | BaseExceptionGroup.__new__ (GH-30854)
* bpo-46107: ExceptionGroup.subgroup()/split() should copy __note__ to the ↵Irit Katriel2021-12-21
| | | | parts (GH-30159)
* bpo-45292: [PEP-654] add except* (GH-29581)Irit Katriel2021-12-14
|
* bpo-45292: Use raw strings for regex in tests (GH-29545)Irit Katriel2021-11-16
|
* bpo-45292: [PEP 654] add the ExceptionGroup and BaseExceptionGroup classes ↵Irit Katriel2021-10-23
(GH-28569)