26 Apr 2001 26 Apr '01
On Wed, 25 Apr 2001, Konrad Hinsen wrote: [...]
It would be quite serious hacking. Distutils just calls the compiler exactly as it was called for compiling the Python interpreter. To change the optimization level, I'd have to parse the command to extract any optimization options, remove them, and put my own instead. I can't imagine anything more platform-dependent.
Okay, you have higher standards than me. :) I was imagining just sticking in an '-O' somewhere, or similar.