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 max
Recipients max
Date 2012-03-29.17:07:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1333040831.85.0.92124341394.issue14445@psf.upfronthosting.co.za>
In-reply-to
Content
Currently -O optimizer flag disables assert statements.

I want to ask that more fine-grained control is offered to users over the assert statements. In many cases, it would be nice to have the option of keeping asserts in release code, while still performing optimizations (if any are offered in the future). It can be achieved by removing the "disable assertions" feature of the -O flag, and instead adding a new flag that does nothing but disables asserts.
History
Date User Action Args
2012-03-29 17:07:11maxsetrecipients: + max
2012-03-29 17:07:11maxsetmessageid: <1333040831.85.0.92124341394.issue14445@psf.upfronthosting.co.za>
2012-03-29 17:07:11maxlinkissue14445 messages
2012-03-29 17:07:11maxcreate