[issue12119] distutils and python -B

Éric Araujo report at bugs.python.org
Sat Feb 25 09:02:04 CET 2012


Éric Araujo <merwok at netwok.org> added the comment:

I thought about this and am not sure about my position.

I am 100% convinced that what packaging does is the right thing.  Modules like py_compile, compileall (in 3.2+) and packaging are able to compile with or without optimization depending on options that are given to them, independently from the optimization level of the calling Python.

distutils however depends on the calling Python’s -B and -O options, and I just don’t think there is much value in fixing this bug and causing obscure bugs for people who’ve been using -B to control distutils for the past months.

Antoine, you’re a pragmatist and a fixer of bugs.  Arfrever, you’re using this misfeature.  I’d like to know your opinion.

----------
resolution:  -> fixed
status: open -> pending

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12119>
_______________________________________


More information about the Python-bugs-list mailing list