[issue39702] PEP 614: Relaxing Grammar Restrictions On Decorators

2021-04-08 Thread miss-islington
miss-islington added the comment: New changeset a9228d02d16fe90f2f13e7e9ec478f7b4f8607a2 by Miss Islington (bot) in branch '3.9': [3.9] bpo-39702: Remove dotted_name from decorator documentation (GH-25234) (GH-25290)

[issue39702] PEP 614: Relaxing Grammar Restrictions On Decorators

2021-04-08 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 4.0 -> 5.0 pull_requests: +24025 pull_request: https://github.com/python/cpython/pull/25290 ___ Python tracker

[issue39702] PEP 614: Relaxing Grammar Restrictions On Decorators

2021-04-08 Thread Brandt Bucher
Brandt Bucher added the comment: New changeset 1e051a21b7106a93c30b74aad7e1f40d6c0c477b by Saiyang Gou in branch 'master': bpo-39702: Remove dotted_name from decorator documentation (GH-25234) https://github.com/python/cpython/commit/1e051a21b7106a93c30b74aad7e1f40d6c0c477b --

[issue39702] PEP 614: Relaxing Grammar Restrictions On Decorators

2021-04-06 Thread Saiyang Gou
Change by Saiyang Gou : -- nosy: +gousaiyang nosy_count: 3.0 -> 4.0 pull_requests: +23971 pull_request: https://github.com/python/cpython/pull/25234 ___ Python tracker ___

[issue39702] PEP 614: Relaxing Grammar Restrictions On Decorators

2020-03-08 Thread SHANKAR JHA
Change by SHANKAR JHA : -- nosy: +shankarj67 nosy_count: 2.0 -> 3.0 pull_requests: +18208 pull_request: https://github.com/python/cpython/pull/18851 ___ Python tracker ___

[issue39702] PEP 614: Relaxing Grammar Restrictions On Decorators

2020-03-07 Thread Brandt Bucher
Change by Brandt Bucher : -- stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list

[issue39702] PEP 614: Relaxing Grammar Restrictions On Decorators

2020-03-07 Thread Guido van Rossum
Guido van Rossum added the comment: New changeset 8f130536926a30237b5297780d61ef4232e88577 by Brandt Bucher in branch 'master': bpo-39702: Update the Language Reference (PEP 614) (GH-18802) https://github.com/python/cpython/commit/8f130536926a30237b5297780d61ef4232e88577 --

[issue39702] PEP 614: Relaxing Grammar Restrictions On Decorators

2020-03-05 Thread Brandt Bucher
Change by Brandt Bucher : -- pull_requests: +18158 pull_request: https://github.com/python/cpython/pull/18802 ___ Python tracker ___

[issue39702] PEP 614: Relaxing Grammar Restrictions On Decorators

2020-03-03 Thread Guido van Rossum
Guido van Rossum added the comment: Sounds good. If you feel like it you can submit a PR to the devguide, I'm sure Brett will merge it quickly... -- ___ Python tracker ___

[issue39702] PEP 614: Relaxing Grammar Restrictions On Decorators

2020-03-03 Thread Brandt Bucher
Brandt Bucher added the comment: Agreed. I'll have something up later, hopefully. I'll add a tiny blurb to whatsnew, as well as adding the PEP to the "See also:" note in https://docs.python.org/3.9/reference/compound_stmts.html and updating the mini-grammar there. I don't think it needs

[issue39702] PEP 614: Relaxing Grammar Restrictions On Decorators

2020-03-03 Thread Guido van Rossum
Guido van Rossum added the comment: I'm guessing there's some doc update that needs to happen now the code has landed. -- ___ Python tracker ___

[issue39702] PEP 614: Relaxing Grammar Restrictions On Decorators

2020-03-03 Thread Guido van Rossum
Guido van Rossum added the comment: New changeset be501ca2419a91546dea85ef4f36945545458589 by Brandt Bucher in branch 'master': bpo-39702: Relax grammar restrictions on decorators (PEP 614) (GH-18570) https://github.com/python/cpython/commit/be501ca2419a91546dea85ef4f36945545458589

[issue39702] PEP 614: Relaxing Grammar Restrictions On Decorators

2020-02-20 Thread Brandt Bucher
Change by Brandt Bucher : -- keywords: +patch pull_requests: +17949 stage: -> patch review pull_request: https://github.com/python/cpython/pull/18570 ___ Python tracker ___

[issue39702] PEP 614: Relaxing Grammar Restrictions On Decorators

2020-02-20 Thread Brandt Bucher
New submission from Brandt Bucher : The attached PR implements PEP 614's revised grammar for decorators, with tests. In short: decorator: '@' dotted_name [ '(' [arglist] ')' ] NEWLINE becomes decorator: '@' namedexpr_test NEWLINE I'm marking it as DO-NOT-MERGE until the PEP is accepted,