This is a tracking bug for Change: Python built with gcc -O3 For more details, see: https://fedoraproject.org/wiki/Changes/Python_built_with_gcc_O3 Instead of Fedora's default -O2 compiler flag, we will use -O3 to build CPython. This only impacts the interpreter and Python standard library, not any 3rd party extension modules built as RPM or on developer machines. This aligns with the way Python is built upstream. According to our performance measurements, it makes Python significantly faster (pyperformance geometric mean: 1.04x faster). If you encounter a bug related to this Change, please do not comment here. Instead create a new bug and set it to block this bug.
This is now live in Python 3.13. Waiting for Python 3.13 to become the main Python before considering backports to other places.
Python 3.13 is the main Python now.