New submission from Vlad Emelianov <volsheb...@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 <rep...@bugs.python.org> <https://bugs.python.org/issue38641> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com