Message347398
> I see optimizing away 'if __debug__: ...' clauses, when __debug__ is False (and 0) as currently documented language behavior, not a 'deep implementation detail'.
https://docs.python.org/3/reference/simple_stmts.html#the-assert-statement
I don't think you can conclude that is documented with this argument. What's documented is what happens with the assert statement, not with arbitrary dead code. The link between the two is at least an interpretation, not an explicitly documented think. |
|
Date |
User |
Action |
Args |
2019-07-05 22:02:11 | pablogsal | set | recipients:
+ pablogsal, terry.reedy, nedbat, ned.deily, lukasz.langa, serhiy.storchaka, p-ganssle, miss-islington, xtreak, aldwinaldwin |
2019-07-05 22:02:11 | pablogsal | set | messageid: <1562364131.34.0.008167395926.issue37500@roundup.psfhosted.org> |
2019-07-05 22:02:11 | pablogsal | link | issue37500 messages |
2019-07-05 22:02:11 | pablogsal | create | |
|