bpo-45115: Enable optimiaztions on Windows debug build by vstinner · Pull Request #28181 · python/cpython

@vstinner

On Windows, enable compiler optimizations on the debug build to make
tests run faster and to reduce the stack memory usage, especially
with static inline functions used in Python public header files.

The Windows GitHub Actions now build Python in debug mode to catch
more bugs.