Open phorward opened 11 months ago
This is not considered as a bug anymore.
It is equal when calling in Python:
>>> 1(2+3)
<stdin>:1: SyntaxWarning: 'int' object is not callable; perhaps you missed a comma?
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: 'int' object is not callable
>>> 1,2
(1, 2)
A good solution would be to provide an adequate warning as shown above.
The input
1(2+3)
should not be parsed as a function call.