[New-bugs-announce] [issue43130] Should this construct throw an exception?

Tony Ladd report at bugs.python.org
Thu Feb 4 16:52:27 EST 2021


New submission from Tony Ladd <tladd at che.ufl.edu>:

The expression "1 and 2" evaluates to 2. Actually for most combinations of data type it returns the second object. Of course its a senseless construction (a beginning student made it) but why no exception?

----------
components: Interpreter Core
messages: 386496
nosy: tladd
priority: normal
severity: normal
status: open
title: Should this construct throw an exception?
type: behavior

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43130>
_______________________________________


More information about the New-bugs-announce mailing list