Skip to content

[3.14] gh-155292: Don't consider Unicode codepoint attributes outside RFC 3454 (GH-155293) - #156020

Open
encukou wants to merge 2 commits into
python:3.14from
encukou:backport-7e109d0-3.14
Open

[3.14] gh-155292: Don't consider Unicode codepoint attributes outside RFC 3454 (GH-155293)#156020
encukou wants to merge 2 commits into
python:3.14from
encukou:backport-7e109d0-3.14

Conversation

@encukou

@encukou encukou commented Aug 18, 2026

Copy link
Copy Markdown
Member

Due to a bug, some Unicode codepoint attributes were considered for characters not yet defined in Unicode 3.2.0 or attributes which changed in later Unicode versions. RFC 3454 (StringPrep) requires using Unicode 3.2.0 strictly.

(cherry picked from commit 7e109d0)

sethmlarson and others added 2 commits August 18, 2026 16:46
…RFC 3454 (pythonGH-155293)

Due to a bug, some Unicode codepoint attributes were considered
for characters not yet defined in Unicode 3.2.0 or attributes
which changed in later Unicode versions. RFC 3454 (StringPrep)
requires using Unicode 3.2.0 strictly.

Co-authored-by: Stan Ulbrych <89152624+stanfromireland@users.noreply.github.com>
Co-authored-by: Petr Viktorin <encukou@gmail.com>
(cherry picked from commit 7e109d0)
@encukou
encukou requested a review from sethmlarson August 18, 2026 15:13
@encukou encukou changed the title gh-155292: Don't consider Unicode codepoint attributes outside RFC 3454 (GH-155293) [3.14] gh-155292: Don't consider Unicode codepoint attributes outside RFC 3454 (GH-155293) Aug 18, 2026
@encukou

encukou commented Aug 18, 2026

Copy link
Copy Markdown
Member Author

Note that #144815 wasn't backported to 3.14, so unassigned characters don't have bidi values.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants