gh-113190: Reenable non-debug interned string cleanup by eduardo-elizondo · Pull Request #113601 · python/cpython

@eduardo-elizondo

@eduardo-elizondo

@Eclips4 Eclips4 changed the title [DONOTMETGE] gh-113190: Reenable non-debug interned string cleanup [DO NOT MERGE] gh-113190: Reenable non-debug interned string cleanup

Dec 31, 2023

@Eclips4 Eclips4 changed the title [DO NOT MERGE] gh-113190: Reenable non-debug interned string cleanup gh-113190: Reenable non-debug interned string cleanup

Dec 31, 2023

@eduardo-elizondo

@eduardo-elizondo

@encukou

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

Aug 22, 2024

@eduardo-elizondo @blhsing

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

Feb 26, 2025

@eduardo-elizondo @hugovk

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

Feb 26, 2025

@eduardo-elizondo @hugovk

jcfr added a commit to jcfr/MeVisLab-pythonqt that referenced this pull request

Sep 4, 2025
…) in sanitizer runs

Under ASan/LSan with Python 3.12 on Ubuntu 22.04/24.04, the cleanup tests
report direct leaks rooted in CPython’s unicode interning path (frames via
PyUnicode_New) during module import in our embedded init.

This is a known CPython issue (python/cpython#113190). Interned-unicode
cleanup was re-enabled in 3.13 (python/cpython#113601) but not backported
to 3.12. To keep CI signal meaningful while we still test against 3.12,
enable a narrow LSan suppression for PyUnicode_New only, and only on 3.12.

Notes:
- detect_leaks=1 remains enabled; the suppression is limited to PyUnicode_New
  and won’t mask leaks in PythonQt.
- Remove once CI moves off Python 3.12.

Refs: python/cpython#113190, python/cpython#113601

mrbean-bremen pushed a commit to MeVisLab/pythonqt that referenced this pull request

Sep 4, 2025
…) in sanitizer runs

Under ASan/LSan with Python 3.12 on Ubuntu 22.04/24.04, the cleanup tests
report direct leaks rooted in CPython’s unicode interning path (frames via
PyUnicode_New) during module import in our embedded init.

This is a known CPython issue (python/cpython#113190). Interned-unicode
cleanup was re-enabled in 3.13 (python/cpython#113601) but not backported
to 3.12. To keep CI signal meaningful while we still test against 3.12,
enable a narrow LSan suppression for PyUnicode_New only, and only on 3.12.

Notes:
- detect_leaks=1 remains enabled; the suppression is limited to PyUnicode_New
  and won’t mask leaks in PythonQt.
- Remove once CI moves off Python 3.12.

Refs: python/cpython#113190, python/cpython#113601