[issue8039] precedence rules for ternary operator

Meador Inge report at bugs.python.org
Sun Mar 7 05:54:52 CET 2010


Meador Inge <meadori at gmail.com> added the comment:

It seems to me from the grammar (http://docs.python.org/reference/expressions.html#grammar-token-conditional_expression) that the precedence for conditional expressions fall in between that of 'lambda' and 'or' expressions.

----------
keywords: +patch
nosy: +minge
versions: +Python 2.7
Added file: http://bugs.python.org/file16477/issue-8039.patch

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


More information about the Python-bugs-list mailing list