[3.13] gh-133167: Fix compilation process with --enable-optimizations and --without-docstrings (GH-133187) - #133207
Merged
--enable-optimizations and --without-docstrings (GH-133187) - #133207