summaryrefslogtreecommitdiffstats
path: root/Python/fileutils.c
diff options
context:
space:
mode:
authorPetr Viktorin <encukou@gmail.com>2024-07-17 12:51:42 (GMT)
committerGitHub <noreply@github.com>2024-07-17 12:51:42 (GMT)
commit4395d68c7017eacf0ad643befe1f1e0bc6149f26 (patch)
treecb3fe15222bb1bf9a4f7bac35985b383d04681ee /Python/fileutils.c
parent72cd53ea15c6b304b826fe2ec69fa5afb1d3664e (diff)
downloadcpython-4395d68c7017eacf0ad643befe1f1e0bc6149f26.zip
cpython-4395d68c7017eacf0ad643befe1f1e0bc6149f26.tar.gz
cpython-4395d68c7017eacf0ad643befe1f1e0bc6149f26.tar.bz2
[3.13] gh-113993: Don't immortalize in PyUnicode_InternInPlace; keep immortalizing in other API (GH-121364) (GH-121854)
* 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 (cherry picked from commit b4aedb23ae7954fb58084dda16cd41786819a8cf)
Diffstat (limited to 'Python/fileutils.c')
0 files changed, 0 insertions, 0 deletions