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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation4 Commits1 Checks0 Files changed

Conversation

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters

[ Show hidden characters]({{ revealButtonHref }})

vstinner

Member

@vstinner vstinner commented

Aug 24, 2023

edited by github-actionsbot

Loading

@vstinner

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

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

Aug 24, 2023

@vstinner

@vstinner

serhiy-storchaka

@miss-islington

Thanks @vstinner for the PR, and @Yhg1s for merging it 🌮🎉.. I'm working now to backport this PR to: 3.11.
🐍🍒⛏🤖

@bedevere-bot

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

Aug 25, 2023

@vstinner @miss-islington

…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

@miss-islington @vstinner

…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