[issue24586] Operator precedence for 1<-1==0

tomskaczmarek report at bugs.python.org
Tue Jul 7 20:37:25 CEST 2015


New submission from tomskaczmarek:

As I understand operator precedence the expression 1<-1==0 ought to evaluate in the following order: 1<-1 evaluates to False (or 0) then False == 0 ought to evaluate yielding True. However, this evaluates to False in my Python 3.4.3 Shell. (1<-1)==0 evaluates to True

----------
components: Interpreter Core
messages: 246439
nosy: tomskaczmarek
priority: normal
severity: normal
status: open
title: Operator precedence for 1<-1==0
versions: Python 3.4

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24586>
_______________________________________


More information about the Python-bugs-list mailing list