summaryrefslogtreecommitdiffstats
path: root/Modules/_testcapi/code.c
Commit message (Collapse)AuthorAgeFilesLines
* C API tests: use special markers to test that output parameters were set ↵Serhiy Storchaka2023-09-061-1/+3
| | | | (GH-109014)
* gh-106320: Remove _PyDict_GetItemStringWithError() function (#108313)Victor Stinner2023-08-221-4/+5
| | | | | | | | | Remove private _PyDict_GetItemStringWithError() function of the public C API: the new PyDict_GetItemStringRef() can be used instead. * Move private _PyDict_GetItemStringWithError() to the internal C API. * _testcapi get_code_extra_index() uses PyDict_GetItemStringRef(). Avoid using private functions in _testcapi which tests the public C API.
* gh-106033: Get rid of new occurrences of PyDict_GetItem and PyObject_HasAttr ↵Serhiy Storchaka2023-06-231-1/+1
| | | | | | | | (GH-106034) These functions are broken by design because they discard any exceptions raised inside, including MemoryError and KeyboardInterrupt. They should not be used in new code.
* gh-101101: Fix test_code_extra to reset value for refleak test (gh-102350)Dong-hee Na2023-03-021-1/+5
|
* gh-101101: Unstable C API tier (PEP 689) (GH-101102)Petr Viktorin2023-02-281-0/+115