[Python-ideas] Additional Unpacking Generalizations for assignment

2021-08-30 Thread 笹原康央
Hello developers. I like the star expression. It would be even better if we could extend the idea of PEP448 to provide the following syntax at the time of assignment. ``` python a, b, d, **_ = **{"a":0, " b":1, "c":2}, d=3 # Expressed as a function, it looks like this: def func(a, b, d, **_):

[Python-ideas] Additional Unpacking Generalizations for assignment

2021-08-23 Thread 笹原康央
Hello developers. I like star expression. It would be even better if we could extend the idea of PEP448 to provide the following syntax at the time of assignment. ``` python a, b, d, **_ = **{"a":0, " b":1, "c":2}, d=3 ``` Ideally, it would be nice to be able to provide the same syntax when call