[New-bugs-announce] [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>

More information about the New-bugs-announce mailing list