summaryrefslogtreecommitdiffstats
path: root/Python/executor_cases.c.h
diff options
context:
space:
mode:
authorPetr Viktorin <encukou@gmail.com>2024-07-16 13:36:21 (GMT)
committerGitHub <noreply@github.com>2024-07-16 13:36:21 (GMT)
commitb4aedb23ae7954fb58084dda16cd41786819a8cf (patch)
tree2dbbf03f492051660abe084592a5da66a1badba2 /Python/executor_cases.c.h
parentd7a099d7ae749798bd822aee5d1d46d0a335189b (diff)
downloadcpython-b4aedb23ae7954fb58084dda16cd41786819a8cf.zip
cpython-b4aedb23ae7954fb58084dda16cd41786819a8cf.tar.gz
cpython-b4aedb23ae7954fb58084dda16cd41786819a8cf.tar.bz2
gh-113993: Don't immortalize in PyUnicode_InternInPlace; keep immortalizing in other API (#121364)
* Switch PyUnicode_InternInPlace to _PyUnicode_InternMortal, clarify docs * Document immortality in some functions that take `const char *` This is PyUnicode_InternFromString; PyDict_SetItemString, PyObject_SetAttrString; PyObject_DelAttrString; PyUnicode_InternFromString; and the PyModule_Add convenience functions. Always point out a non-immortalizing alternative. * Don't immortalize user-provided attr names in _ctypes
Diffstat (limited to 'Python/executor_cases.c.h')
0 files changed, 0 insertions, 0 deletions