Message301304
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. |
|
Date |
User |
Action |
Args |
2017-09-05 10:43:53 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, barry, rhettinger, vstinner, skrah |
2017-09-05 10:43:53 | serhiy.storchaka | set | messageid: <1504608233.71.0.484276210458.issue31338@psf.upfronthosting.co.za> |
2017-09-05 10:43:53 | serhiy.storchaka | link | issue31338 messages |
2017-09-05 10:43:53 | serhiy.storchaka | create | |
|