Closed
Description
These functions are broken by design, because they discard any exceptions raised inside, including MemoryError and KeyboardInterrupt. There were several rounds of getting rid of them in past (for example 567eba1, #11112, #75753), but they occur in new code.
Linked PRs
- gh-106033: Get rid of new occurrences of PyDict_GetItem and PyObject_HasAttr #106034
- [3.11] gh-106033: Get rid of new occurrences of PyDict_GetItem and Py… #106040
- [3.12] gh-106033: Get rid of new occurrences of PyDict_GetItem and Py… #106041
- gh-106033: Get rid of PyDict_GetItem in _PyFunction_FromConstructor #106044
- gh-106033: [docs] Improve C API GetItem & HasAttr notes. #106047
- [3.12] gh-106033: [docs] Improve C API GetItem & HasAttr notes. (GH-106047) #106070
- [3.11] gh-106033: [docs] Improve C API GetItem & HasAttr notes. (GH-106047) #106071
- [3.12] gh-106033: Get rid of PyDict_GetItem in _PyFunction_FromConstructor (GH-106044) #106228