[New-bugs-announce] [issue38641] lib2to3 does not support py38 return/yield syntax with starred expressions
Vlad Emelianov
report at bugs.python.org
Wed Oct 30 09:19:43 EDT 2019
New submission from Vlad Emelianov <volshebnyi at gmail.com>:
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.
----------
components: 2to3 (2.x to 3.x conversion tool)
messages: 355713
nosy: Vlad Emelianov
priority: normal
pull_requests: 16521
severity: normal
status: open
title: lib2to3 does not support py38 return/yield syntax with starred expressions
type: enhancement
versions: Python 3.9
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue38641>
_______________________________________
More information about the New-bugs-announce
mailing list