Author serhiy.storchaka
Recipients barry, rhettinger, serhiy.storchaka, skrah, vstinner
Date 2017-09-05.10:43:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1504608233.71.0.484276210458.issue31338@psf.upfronthosting.co.za>
In-reply-to
Content
The fact that assert() is compiled out in release build looks as an advantage to me. This allows the compiler to generate smaller code. I'm in favor of using assert(!"message"), but this form is rarely used in CPython sources.

I think it would be nice to ask on Python-Dev first. Maybe there are other concerns.
History
Date User Action Args
2017-09-05 10:43:53serhiy.storchakasetrecipients: + serhiy.storchaka, barry, rhettinger, vstinner, skrah
2017-09-05 10:43:53serhiy.storchakasetmessageid: <1504608233.71.0.484276210458.issue31338@psf.upfronthosting.co.za>
2017-09-05 10:43:53serhiy.storchakalinkissue31338 messages
2017-09-05 10:43:53serhiy.storchakacreate