Message 138610 - Python tracker (original) (raw)
+1 on the request. I don’t think it can go in 3.2, though. I’ll propose a patch, this will let me learn more about the flags.
Also, it begs the question why distutils doesn't use the same code in its compiler class, or even in customize_compiler()...
Certainly because distutils pre-dates python-config. In packaging, we should certainly use sysconfig functions.