[issue32117] Tuple unpacking in return and yield statements

2020-05-05 Thread miss-islington
miss-islington added the comment: New changeset 627f7012353411590434a7d5777ddcbcc8d97fcd by Javier Buzzi in branch 'master': bpo-32117: Updated Simpsons names in docs (GH-19737) https://github.com/python/cpython/commit/627f7012353411590434a7d5777ddcbcc8d97fcd --

[issue32117] Tuple unpacking in return and yield statements

2020-04-27 Thread Roundup Robot
Change by Roundup Robot : -- nosy: +python-dev nosy_count: 6.0 -> 7.0 pull_requests: +19059 pull_request: https://github.com/python/cpython/pull/19737 ___ Python tracker ___

[issue32117] Tuple unpacking in return and yield statements

2019-10-30 Thread Roundup Robot
Change by Roundup Robot : -- pull_requests: +16520 pull_request: https://github.com/python/cpython/pull/16994 ___ Python tracker ___

[issue32117] Tuple unpacking in return and yield statements

2018-10-05 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list

[issue32117] Tuple unpacking in return and yield statements

2018-10-05 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 4642d5f59828e774585e9895b538b24d71b9df8e by Serhiy Storchaka in branch 'master': Use assertEqual() instead of assertEquals(). (GH-9721) https://github.com/python/cpython/commit/4642d5f59828e774585e9895b538b24d71b9df8e --

[issue32117] Tuple unpacking in return and yield statements

2018-10-05 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +9105 stage: needs patch -> patch review ___ Python tracker ___ ___ Python-bugs-list

[issue32117] Tuple unpacking in return and yield statements

2018-10-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: assertEquals() is deprecated, use assertEqual() instead. This causes tests failure when run with -Werror. -- stage: resolved -> needs patch status: closed -> open ___ Python tracker

[issue32117] Tuple unpacking in return and yield statements

2018-09-22 Thread miss-islington
miss-islington added the comment: New changeset 8fabae3b00b2ccffd9f7bf4736734ae584ac5829 by Miss Islington (bot) (jChapman) in branch 'master': bpo-32117: Iterable unpacking in return and yield documentation (GH-9487)

[issue32117] Tuple unpacking in return and yield statements

2018-09-21 Thread Jordan Chapman
Change by Jordan Chapman : -- pull_requests: +8897 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32117] Tuple unpacking in return and yield statements

2018-09-21 Thread Guido van Rossum
Guido van Rossum added the comment: Fixed by https://github.com/python/cpython/pull/4509. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue32117] Tuple unpacking in return and yield statements

2018-09-21 Thread Guido van Rossum
Guido van Rossum added the comment: New changeset fd97d1f1af910a6222ea12aec42c456b64f9aee4 by Guido van Rossum (David Cuthbert) in branch 'master': bpo-32117: Allow tuple unpacking in return and yield statements (gh-4509)

[issue32117] Tuple unpacking in return and yield statements

2018-09-15 Thread Jordan Chapman
Jordan Chapman added the comment: Sorry, I could have sworn that I pasted my link... https://github.com/jChapman -- ___ Python tracker ___

[issue32117] Tuple unpacking in return and yield statements

2018-09-15 Thread Jordan Chapman
Jordan Chapman added the comment: Here's my GitHub account: I'll make the changes and rebase as soon as I get home. -- ___ Python tracker ___

[issue32117] Tuple unpacking in return and yield statements

2018-09-15 Thread Guido van Rossum
Guido van Rossum added the comment: Jordan, what's your GitHub account name? I hope you can check this out and make the changes I'm requesting on GitHub. -- ___ Python tracker

[issue32117] Tuple unpacking in return and yield statements

2018-09-14 Thread Jordan Chapman
Jordan Chapman added the comment: BFDL approval: https://mail.python.org/pipermail/python-dev/2017-November/150842.html -- nosy: +Jordan Chapman ___ Python tracker ___

[issue32117] Tuple unpacking in return and yield statements

2018-09-14 Thread Guido van Rossum
Guido van Rossum added the comment: Move to 3.8. -- nosy: +gvanrossum versions: +Python 3.8 -Python 3.7 ___ Python tracker ___ ___

[issue32117] Tuple unpacking in return and yield statements

2017-11-29 Thread David Cuthbert
David Cuthbert added the comment: Oops, I wasn't looking broadly enough. This is also used in the augmented assignment statements syntax, e.g. a += 1, 2, 3 -- ___ Python tracker

[issue32117] Tuple unpacking in return and yield statements

2017-11-29 Thread David Cuthbert
David Cuthbert added the comment: Hm... that leaves the only production for expression_list as: subscription ::= primary "[" expression_list "]" And I'm not sure that this shouldn't also be replaced by starred_list. It's not accepted today, though: In [6]: a[1,*(4, 5, 6)]

[issue32117] Tuple unpacking in return and yield statements

2017-11-29 Thread Henk-Jaap Wagenaar
Henk-Jaap Wagenaar added the comment: I think the language spec needs updating as well? In particular in https://docs.python.org/3/reference/simple_stmts.html#the-return-statement it seems expression_list should be replaced by starred_list. -- nosy:

[issue32117] Tuple unpacking in return and yield statements

2017-11-29 Thread David Cuthbert
David Cuthbert added the comment: CLA processed, and BDFL has assented on python-dev. Serhiy, thoughts on next steps? -- ___ Python tracker

[issue32117] Tuple unpacking in return and yield statements

2017-11-22 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Since this changes the grammar, it should be first discussed on Python-Dev and approved by BDFL. -- nosy: +serhiy.storchaka ___ Python tracker

[issue32117] Tuple unpacking in return and yield statements

2017-11-22 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- versions: +Python 3.7 -Python 3.4, Python 3.5, Python 3.6 ___ Python tracker ___

[issue32117] Tuple unpacking in return and yield statements

2017-11-22 Thread David Cuthbert
Change by David Cuthbert : -- keywords: +patch pull_requests: +4446 stage: -> patch review ___ Python tracker ___

[issue32117] Tuple unpacking in return and yield statements

2017-11-22 Thread David Cuthbert
New submission from David Cuthbert : This stems from a query on StackOverflow: https://stackoverflow.com/questions/47272460/python-tuple-unpacking-in-return-statement/ Specifically, the following syntax is allowed: def f(): rest = (4, 5, 6) t = 1, 2, 3, *rest While