You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Inconsistent unstructuring of tuple and typing.Tuple #226
I think you mentioned in some other issue, that unstructuring tuples into lists is more natural, since lists are supported by more languages and I agree with that, therefore I expected all the unstructurings to produce a list.
As an aside, structuring works correctly for all the cases, so a dictionary {"xs": [1, '2', 3.4]} always produces a tuple, and, in the case of T5/6, all the values are converted to float.
Activity
bibajz commentedon Feb 7, 2022
I think I can scrap some spare time this / next week, so I can look into it, if you don't want to.
Cheers,
Libor
Tinche commentedon Feb 8, 2022
What exactly are you proposing to do, make it consistent?
bibajz commentedon Feb 8, 2022
Yes, exactly, make all the unstructuring cases produce a list.
chore(deps): Update cattrs requirement from <1.11,>=1.8 to >=1.8,<22.…
chore(deps): Update cattrs requirement from <22.2,>=1.8 to >=1.8,<22.…