# Bug report https://github.com/python/cpython/blob/474204765bdbdd4bc84a8ba49d3a6558e9e4e3fd/Python/pylifecycle.c#L1106-L1113 I think that `Py_DECREF(presite_modname);` is not needed, because `presite_modname` is `NULL` in this branch. This will, likely, lead to a crash. I have a PR ready. <!-- gh-linked-prs --> ### Linked PRs * gh-115504 <!-- /gh-linked-prs -->
Activity
pythongh-115503: Fix `run_presite` error handling
gh-115503: Fix `run_presite` error handling (#115504)
pythongh-115503: Fix `run_presite` error handling (python#115504)
pythongh-115503: Fix `run_presite` error handling (python#115504)
pythongh-115503: Fix `run_presite` error handling (python#115504)