[issue18788] Proof of concept: implicit call syntax

Serhiy Storchaka report at bugs.python.org
Tue Aug 20 11:41:13 CEST 2013


Serhiy Storchaka added the comment:

> Ambiguous cases (such as "expr * expr" and "expr ** expr") obey the rule that implicit calls are very *low* precedence, so you have to use parens to force the call interpretation.

Does "a + b c" mean "(a + b)(c)"? Does "a + b (c)" mean "(a + b)((c))"?

What does "a (b, c)" mean? "a.__call__(b, c)" or "a.__call__((b, c))"?

----------
nosy: +serhiy.storchaka

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


More information about the Python-bugs-list mailing list