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
Accepted keys for double-starred dictionaries #94728
Following the discussion here, it should be clarified in the documentation what constraints are put on the keys of a dict being double-starred in a function call.
The implementation allows any and all str or subtypes of str : not any key of any type is accepted, but that at the same time the keys are not checked for being valid identifiers.
How much of theat should be documented as a feature, and how much as an implementation detail is still being discussed.
Activity
Gouvernathor commentedon Aug 29, 2022
Double of #96397.
jeff5 commentedon Aug 30, 2022
Sorry I didn't spot this when opening #96393.