[issue23896] lib2to3 doesn't provide a grammar where exec is a function

2019-05-20 Thread Guido van Rossum
Guido van Rossum added the comment: Thanks Batuhan Taşkaya! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue23896] lib2to3 doesn't provide a grammar where exec is a function

2019-05-20 Thread Guido van Rossum
Guido van Rossum added the comment: New changeset 4011d865d0572a3dd9988f2935cd835cc8fb792a by Guido van Rossum (Batuhan Taşkaya) in branch 'master': bpo-23896: Add a grammar where exec isn't a stmt (#13272) https://github.com/python/cpython/commit/4011d865d0572a3dd9988f2935cd835cc8fb792a

[issue23896] lib2to3 doesn't provide a grammar where exec is a function

2019-05-12 Thread Batuhan
Change by Batuhan : -- keywords: +patch pull_requests: +13178 stage: needs patch -> patch review ___ Python tracker ___ ___

[issue23896] lib2to3 doesn't provide a grammar where exec is a function

2015-04-11 Thread Ned Deily
Changes by Ned Deily n...@acm.org: -- nosy: +benjamin.peterson ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23896 ___ ___ Python-bugs-list

[issue23896] lib2to3 doesn't provide a grammar where exec is a function

2015-04-09 Thread Eli Bendersky
New submission from Eli Bendersky: lib2to3 helpfully provides pygram.python_grammar_no_print_statement for parsing Python 3 ('print' has the semantics of an identifier, not a keyword) However, the same courtesy is not extended to 'exec', which also turns from a statement to an identifier in