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 serhiy.storchaka
Recipients darke, serhiy.storchaka
Date 2021-03-15.10:01:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1615802471.46.0.285422047552.issue43497@roundup.psfhosted.org>
In-reply-to
Content
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
History
Date User Action Args
2021-03-15 10:01:11serhiy.storchakasetrecipients: + serhiy.storchaka, darke
2021-03-15 10:01:11serhiy.storchakasetmessageid: <1615802471.46.0.285422047552.issue43497@roundup.psfhosted.org>
2021-03-15 10:01:11serhiy.storchakalinkissue43497 messages
2021-03-15 10:01:11serhiy.storchakacreate