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 brett.cannon
Recipients brett.cannon, vstinner
Date 2013-03-22.17:09:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
And that's fine as it allows for more explicit control over what gets optimized. Basically if there is a global hook directly into the compiler there needs to be more control over detecting it's being optimized, what to do about .pyo files, etc. At least at the loader level it's much more modular and controlled as to what will and will not get the optimizations.

So if you want to pursue this I think there needs to be more thought than just a global sys hook for this sort of thing.
Date User Action Args
2013-03-22 17:09:41brett.cannonsetrecipients: + brett.cannon, vstinner
2013-03-22 17:09:41brett.cannonsetmessageid: <>
2013-03-22 17:09:41brett.cannonlinkissue17515 messages
2013-03-22 17:09:41brett.cannoncreate