Fix SystemError in PyEval_GetLocals()

- Fixes: rhbz#2303107
This commit is contained in:
Miro Hrončok 2024-08-06 23:21:44 +02:00
commit 396df33f84
2 changed files with 105 additions and 1 deletions

View file

@ -17,7 +17,7 @@ URL: https://www.python.org/
%global prerel rc1
%global upstream_version %{general_version}%{?prerel}
Version: %{general_version}%{?prerel:~%{prerel}}
Release: 1%{?dist}
Release: 2%{?dist}
License: Python-2.0.1
@ -397,6 +397,16 @@ Patch251: 00251-change-user-install-location.patch
# Another process might have already moved jit_stencils.h.new
Patch429: 00429-gh-118943-fix-another-race-condition-when-generating-jit_stencils-h.patch
# 00434 # 62b8e745105f68cec7016eccec1406911da01d66
# gh-122728: Fix SystemError in PyEval_GetLocals()
#
# Fix PyEval_GetLocals() to avoid SystemError ("bad argument to
# internal function"). Don't redefine the 'ret' variable in the if
# block.
#
# Add an unit test on PyEval_GetLocals().
Patch434: 00434-gh-122728-fix-systemerror-in-pyeval_getlocals.patch
# (New patches go here ^^^)
#
# When adding new patches to "python" and "python3" in Fedora, EL, etc.,
@ -1738,6 +1748,10 @@ CheckPython freethreading
# ======================================================
%changelog
* Tue Aug 06 2024 Miro Hrončok <mhroncok@redhat.com> - 3.13.0~rc1-2
- Fix SystemError in PyEval_GetLocals()
- Fixes: rhbz#2303107
* Thu Aug 01 2024 Karolina Surma <ksurma@redhat.com> - 3.13.0~rc1-1
- Update to Python 3.13.0rc1