[issue27042] Incorrect grammar for function definitions

2016-05-17 Thread Roundup Robot
Roundup Robot added the comment: New changeset 451dd29ebae3 by Benjamin Peterson in branch '3.5': Backed out changeset 71ff2235bb4c (closes #27042) https://hg.python.org/cpython/rev/451dd29ebae3 New changeset d13999a6be8c by Benjamin Peterson in branch '3.5': class definitions only get argument

[issue27042] Incorrect grammar for function definitions

2016-05-16 Thread Senthil Kumaran
Changes by Senthil Kumaran : -- nosy: +benjamin.peterson ___ Python tracker ___ ___

[issue27042] Incorrect grammar for function definitions

2016-05-16 Thread Eric Wieser
Eric Wieser added the comment: The parent commit is also bad: https://hg.python.org/cpython/rev/b65007ef59c0 -- ___ Python tracker ___

[issue27042] Incorrect grammar for function definitions

2016-05-16 Thread Eric Wieser
Eric Wieser added the comment: The offending patch can be found at https://hg.python.org/cpython/rev/71ff2235bb4c -- ___ Python tracker ___

[issue27042] Incorrect grammar for function definitions

2016-05-16 Thread Eric Wieser
New submission from Eric Wieser: https://docs.python.org/3.2/reference/compound_stmts.html#function-definitions and onwards say the following decorator ::= "@" dotted_name ["(" [parameter_list [","]] ")"] NEWLINE This is a regression from the 2.7 docs, which correctly said