◐ Shell
clean mode source ↗

gh-145202: Fix crash in unicodedata's GraphemeBreakIterator and Segment by serhiy-storchaka · Pull Request #145216 · python/cpython

… Segment

Remove the tp_clear slots and make Segment members read-only.

sergey-miryanov

sergey-miryanov

@serhiy-storchaka

colesbury

brijkapadia pushed a commit to brijkapadia/cpython that referenced this pull request

Feb 28, 2026
… Segment (pythonGH-145216)

Remove the tp_clear slots and make Segment members read-only.

Also add tests for reference loops involving GraphemeBreakIterator
and Segment.

ljfp pushed a commit to ljfp/cpython that referenced this pull request

Apr 25, 2026
… Segment (pythonGH-145216)

Remove the tp_clear slots and make Segment members read-only.

Also add tests for reference loops involving GraphemeBreakIterator
and Segment.