Preserve AST nodes for f-string with single-element format specifiers

- Fixes https://github.com/python/cpython/issues/122300
This commit is contained in:
Miro Hrončok 2024-07-30 12:18:00 +02:00
commit b25f06562b
2 changed files with 3186 additions and 1 deletions

File diff suppressed because it is too large Load diff

View file

@ -17,7 +17,7 @@ URL: https://www.python.org/
%global prerel b4
%global upstream_version %{general_version}%{?prerel}
Version: %{general_version}%{?prerel:~%{prerel}}
Release: 2%{?dist}
Release: 3%{?dist}
License: Python-2.0.1
@ -403,6 +403,10 @@ Patch429: 00429-gh-118943-fix-another-race-condition-when-generating-jit_stencil
# From https://github.com/python/cpython/pull/122017
Patch432: 00432-account-with-abi_thread-in-test_sysconfig-test_user_similar.patch
# 00433 # 1c8b255f8c5430714b6860058880529a95a6bae7
# Preserve AST nodes for format specifiers with single elements
Patch433: 00433-preserve-ast-nodes-for-format-specifiers-with-single-elements.patch
# (New patches go here ^^^)
#
# When adding new patches to "python" and "python3" in Fedora, EL, etc.,
@ -1744,6 +1748,10 @@ CheckPython freethreading
# ======================================================
%changelog
* Tue Jul 30 2024 Miro Hrončok <mhroncok@redhat.com> - 3.13.0~b4-3
- Preserve AST nodes for f-string with single-element format specifiers
- Fixes https://github.com/python/cpython/issues/122300
* Tue Jul 23 2024 Miro Hrončok <mhroncok@redhat.com> - 3.13.0~b4-2
- Explicitly BuildRequire systemtap-sdt-devel
https://fedoraproject.org/wiki/Changes/Separate_dtrace_package