gh-131510: Use PyUnstable_Unicode_GET_CACHED_HASH() (GH-141520)
Replace code that directly accesses PyASCIIObject.hash with PyUnstable_Unicode_GET_CACHED_HASH(). Remove redundant "assert(PyUnicode_Check(op))" from PyUnstable_Unicode_GET_CACHED_HASH(), _PyASCIIObject_CAST() already implements the check.
V
Victor Stinner committed
3bacae55980561cb99095a20a70c45d6174e056d
Parent: 181a2f4
Committed by GitHub <noreply@github.com>
on 11/14/2025, 10:13:24 AM