[issue32024] Nominal decorator function call syntax is inconsistent with regular function calls

2017-11-15 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Since this change is approved, this is a documentation issue, and I left it on to Nick. -- ___ Python tracker

[issue32024] Nominal decorator function call syntax is inconsistent with regular function calls

2017-11-14 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- dependencies: +Disallow ambiguous syntax f(x for x in [1],) type: behavior -> enhancement versions: +Python 3.7 ___ Python tracker

[issue32024] Nominal decorator function call syntax is inconsistent with regular function calls

2017-11-14 Thread Guido van Rossum
Guido van Rossum added the comment: The implementation is as intended and the language spec needs an update. -- ___ Python tracker

[issue32024] Nominal decorator function call syntax is inconsistent with regular function calls

2017-11-14 Thread Nick Coghlan
New submission from Nick Coghlan : Function calls in decorators are implemented as regular function calls, and hence permit the use of generator expressions as their sole argument without a second pair of parentheses. However,