[issue41979] PEG parser doesn't accept extended unpacking in with statement

2020-10-09 Thread miss-islington
miss-islington added the comment: New changeset 42157b9eaa7f4de69a5f5f65d4403d70efa6a5c2 by Batuhan Taskaya in branch '3.9': [3.9] bpo-41979: Accept star-unpacking on with-item targets (GH-22611) (GH-22612) https://github.com/python/cpython/commit/42157b9eaa7f4de69a5f5f65d4403d70efa6a5c2 -

[issue41979] PEG parser doesn't accept extended unpacking in with statement

2020-10-09 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- pull_requests: +21595 pull_request: https://github.com/python/cpython/pull/22612 ___ Python tracker ___ _

[issue41979] PEG parser doesn't accept extended unpacking in with statement

2020-10-09 Thread Lysandros Nikolaou
Change by Lysandros Nikolaou : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue41979] PEG parser doesn't accept extended unpacking in with statement

2020-10-09 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 48f305fd122080a9181cbda33bdb42ea36a0136f by Batuhan Taskaya in branch 'master': bpo-41979: Accept star-unpacking on with-item targets (GH-22611) https://github.com/python/cpython/commit/48f305fd122080a9181cbda33bdb42ea36a0136f -

[issue41979] PEG parser doesn't accept extended unpacking in with statement

2020-10-09 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- keywords: +patch pull_requests: +21594 stage: -> patch review pull_request: https://github.com/python/cpython/pull/22611 ___ Python tracker ___

[issue41979] PEG parser doesn't accept extended unpacking in with statement

2020-10-09 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- nosy: +BTaskaya ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue41979] PEG parser doesn't accept extended unpacking in with statement

2020-10-09 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- nosy: +benjamin.peterson, gvanrossum, pablogsal ___ Python tracker ___ ___ Python-bugs-list mailing

[issue41979] PEG parser doesn't accept extended unpacking in with statement

2020-10-08 Thread Joshua Oreman
New submission from Joshua Oreman : On Python 3.9.0 with the new PEG parser, the following statement produces a SyntaxError: with contextlib.nullcontext(range(1, 5)) as (first, *rest, last): print(first, rest, last) On 3.8.x, or 3.9.0 with -X oldparser, it succeeds and prints "1 [2, 3] 4"