The PEP says:
Previously, it was possible to set directly global configuration variables:
Py_OptimizeFlag Py_VerboseFlag Py_DebugFlag Py_InspectFlag Py_DontWriteBytecodeFlag
But these configuration flags were deprecated in Python 3.12 and are scheduled for removal in Python 3.14.
I see these were deprecated in #93103 (3.12) and the removal schedule was set in #106538 (3.13), but I could not find a reason to use the shortest deprecation period allowed by PEP 387.
Note PEP 387 says:
If the deprecated feature is replaced by a new one, it should generally be removed only after the last Python version without the new feature reaches end of support.
If these need a replacement but we’re only adding it now, shouldn’t the removals be postponed?