This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eric.araujo
Recipients Arfrever, alexis, eric.araujo, pitrou, tarek
Date 2012-02-25.08:02:03
SpamBayes Score 4.6637064e-07
Marked as misclassified No
Message-id <1330156924.49.0.220115081424.issue12119@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2012-02-25 08:02:04eric.araujosetrecipients: + eric.araujo, pitrou, tarek, Arfrever, alexis
2012-02-25 08:02:04eric.araujosetmessageid: <1330156924.49.0.220115081424.issue12119@psf.upfronthosting.co.za>
2012-02-25 08:02:03eric.araujolinkissue12119 messages
2012-02-25 08:02:03eric.araujocreate