Issue38641
Created on 2019-10-30 13:19 by Vlad Emelianov, last changed 2020-03-01 19:59 by pablogsal. This issue is now closed.
| Pull Requests | |||
|---|---|---|---|
| URL | Status | Linked | Edit |
| PR 16994 | merged | Vlad Emelianov, 2019-10-30 13:19 | |
| Messages (2) | |||
|---|---|---|---|
| msg355713 - (view) | Author: Vlad Emelianov (Vlad Emelianov) * | Date: 2019-10-30 13:19 | |
Lib2to3 does not support changes made in https://bugs.python.org/issue32117 ```python def test(): my_list = ["value2", "value3"] yield "value1", *my_list return "value1", *my_list ``` The idea is to use `testlist_star_expr` instead of `testlist`. This is a backwards compatible change, because testlist_star_expr supports test as well like testlist does. |
|||
| msg363085 - (view) | Author: Pablo Galindo Salgado (pablogsal) * | Date: 2020-03-01 19:59 | |
New changeset 768d739c1cd8c1d41902229581811a9b86bcc76e by Vlad Emelianov in branch 'master': bpo-38641: Add lib2to3 support for starred expressions in return/yield statements (GH-16994) https://github.com/python/cpython/commit/768d739c1cd8c1d41902229581811a9b86bcc76e |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2020-03-01 19:59:46 | pablogsal | set | status: open -> closed resolution: fixed stage: resolved |
| 2020-03-01 19:59:34 | pablogsal | set | nosy:
+ pablogsal messages: + msg363085 |
| 2019-10-30 13:24:33 | Vlad Emelianov | set | versions: + Python 3.8 |
| 2019-10-30 13:19:43 | Vlad Emelianov | create | |