Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[3.9] bpo-35883: Py_DecodeLocale() escapes invalid Unicode characters (GH-24843)#24905

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

miss-islington
Copy link
Contributor

@miss-islingtonmiss-islington commentedMar 17, 2021
edited by bedevere-bot
Loading

Python no longer fails at startup with a fatal error if a command
line argument contains an invalid Unicode character.

The Py_DecodeLocale() function now escapes byte sequences which would
be decoded as Unicode characters outside the [U+0000; U+10ffff]
range.

Use MAX_UNICODE constant in unicodeobject.c.
(cherry picked from commit9976834)

Co-authored-by: Victor Stinnervstinner@python.org

https://bugs.python.org/issue35883

…onGH-24843)Python no longer fails at startup with a fatal error if a commandline argument contains an invalid Unicode character.The Py_DecodeLocale() function now escapes byte sequences which wouldbe decoded as Unicode characters outside the [U+0000; U+10ffff]range.Use MAX_UNICODE constant in unicodeobject.c.(cherry picked from commit9976834)Co-authored-by: Victor Stinner <vstinner@python.org>
@miss-islington
Copy link
ContributorAuthor

@vstinner: Status check is done, and it's a success ✅ .

Copy link
Member

@vstinnervstinner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

LGTM, good bot.

@miss-islington
Copy link
ContributorAuthor

@vstinner: Status check is done, and it's a success ✅ .

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@vstinnervstinnervstinner approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

4 participants
@miss-islington@vstinner@the-knights-who-say-ni@bedevere-bot

[8]ページ先頭

©2009-2025 Movatter.jp