Message347454
An Python exception is not a crash; a crash is the program stopping without an exception and proper cleanup.
If s is a string (rather than, for instance, None),
s and (s[0] == char) is equivalent to s[0:1] == char |
|
Date |
User |
Action |
Args |
2019-07-06 22:46:39 | terry.reedy | set | recipients:
+ terry.reedy, barry, r.david.murray, maxking |
2019-07-06 22:46:39 | terry.reedy | set | messageid: <1562453199.89.0.798526931322.issue37491@roundup.psfhosted.org> |
2019-07-06 22:46:39 | terry.reedy | link | issue37491 messages |
2019-07-06 22:46:39 | terry.reedy | create | |
|