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 CanisUrsa
Recipients CanisUrsa
Date 2020-11-17.21:37:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1605649065.52.0.985109845114.issue42394@roundup.psfhosted.org>
In-reply-to
Content
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
History
Date User Action Args
2020-11-17 21:37:45CanisUrsasetrecipients: + CanisUrsa
2020-11-17 21:37:45CanisUrsasetmessageid: <1605649065.52.0.985109845114.issue42394@roundup.psfhosted.org>
2020-11-17 21:37:45CanisUrsalinkissue42394 messages
2020-11-17 21:37:45CanisUrsacreate