◐ Shell
clean mode source ↗

[3.12] gh-108314: PyDict_GetItemString() mentions UTF-8 by vstinner · Pull Request #108448 · python/cpython

PyDict_GetItemString(), PyDict_SetItemString() and
PyDict_DelItemString() expects a UTF-8 encoding string for the key.

@vstinner vstinner changed the title gh-108314: PyDict_GetItemString() mentions UTF-8 [3.12] gh-108314: PyDict_GetItemString() mentions UTF-8

Aug 24, 2023

serhiy-storchaka

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request

Aug 25, 2023
…GH-108448)

pythongh-108314: PyDict_GetItemString() mentions UTF-8

PyDict_GetItemString(), PyDict_SetItemString() and
PyDict_DelItemString() expects a UTF-8 encoding string for the key.
(cherry picked from commit 9a225d7)

Co-authored-by: Victor Stinner <vstinner@python.org>

vstinner added a commit that referenced this pull request

Aug 25, 2023
…8448) (#108489)

[3.12] gh-108314: PyDict_GetItemString() mentions UTF-8 (GH-108448)

gh-108314: PyDict_GetItemString() mentions UTF-8

PyDict_GetItemString(), PyDict_SetItemString() and
PyDict_DelItemString() expects a UTF-8 encoding string for the key.
(cherry picked from commit 9a225d7)

Co-authored-by: Victor Stinner <vstinner@python.org>