SIGN IN SIGN UP

gh-145202: Fix crash in unicodedata's GraphemeBreakIterator and Segment (GH-145216)

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

Also add tests for reference loops involving GraphemeBreakIterator
and Segment.
S
Serhiy Storchaka committed
812ef66759f9fe27d68283d8e67d6cd3eb512be2
Parent: 43fdb70
Committed by GitHub <noreply@github.com> on 2/26/2026, 9:30:08 AM