Serhiy Storchaka <[email protected]> added the comment:
In such case I prefer to write
assert not 'reachable'
It is shorter than writing False.
If I want to keep an exception even with -O, I write
raise AssertionError
----------
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue43497>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com