Message381289
Python 3.8.6 will not produce an exception when comparing values in an and/or statement that normally produces an exception standalone.
val = 0
low = 1
high = "2"
The following makes sense:
val >= low : False
val <= high : Exception, cant compare int and str
val <= high and val >= low : Exception, cant compare int and str
The following doesn't make sense (doesn't produce an exception):
val >= low and val <= high : False |
|
Date |
User |
Action |
Args |
2020-11-17 21:37:45 | CanisUrsa | set | recipients:
+ CanisUrsa |
2020-11-17 21:37:45 | CanisUrsa | set | messageid: <1605649065.52.0.985109845114.issue42394@roundup.psfhosted.org> |
2020-11-17 21:37:45 | CanisUrsa | link | issue42394 messages |
2020-11-17 21:37:45 | CanisUrsa | create | |
|