[issue47182] _PyUnicode_Fini should invalidate ucnhash_capi capsule pointer

2022-04-04 Thread neonene
Change by neonene : -- nosy: +neonene nosy_count: 5.0 -> 6.0 pull_requests: +30375 pull_request: https://github.com/python/cpython/pull/32313 ___ Python tracker ___

[issue47182] _PyUnicode_Fini should invalidate ucnhash_capi capsule pointer

2022-04-01 Thread Christian Heimes
Christian Heimes added the comment: New changeset 55d5c96c57738766eb6f3b5ccfa6599d5f094c18 by Christian Heimes in branch '3.10': [3.10] bpo-47182: Fix crash by named unicode characters after interpreter reinitialization (GH-32212) (GH-32216)

[issue47182] _PyUnicode_Fini should invalidate ucnhash_capi capsule pointer

2022-03-31 Thread Christian Heimes
Change by Christian Heimes : -- versions: -Python 3.7, Python 3.8, Python 3.9 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue47182] _PyUnicode_Fini should invalidate ucnhash_capi capsule pointer

2022-03-31 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +30293 pull_request: https://github.com/python/cpython/pull/32217 ___ Python tracker ___

[issue47182] _PyUnicode_Fini should invalidate ucnhash_capi capsule pointer

2022-03-31 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +30292 pull_request: https://github.com/python/cpython/pull/32216 ___ Python tracker ___

[issue47182] _PyUnicode_Fini should invalidate ucnhash_capi capsule pointer

2022-03-31 Thread miss-islington
miss-islington added the comment: New changeset 44e915028d75f7cef141aa1aada962465a5907d6 by Christian Heimes in branch 'main': bpo-47182: Fix crash by named unicode characters after interpreter reinitialization (GH-32212)

[issue47182] _PyUnicode_Fini should invalidate ucnhash_capi capsule pointer

2022-03-31 Thread Christian Heimes
Change by Christian Heimes : -- keywords: +patch pull_requests: +30288 stage: -> patch review pull_request: https://github.com/python/cpython/pull/32212 ___ Python tracker

[issue47182] _PyUnicode_Fini should invalidate ucnhash_capi capsule pointer

2022-03-31 Thread Christian Heimes
New submission from Christian Heimes : unicodeobject.c has a static pointer to a unicode name CAPI capsule: static _PyUnicode_Name_CAPI *ucnhash_capi = NULL; The capsule is initialized on demand when the parser encounters a named unicode representation like "\N{digit nine}". Once the