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
Some code uses dicts with a fixed set of keys a lot as a poor-man's struct or record type. If the value types are heterogeneous this is hard to type-check, as code often assumes a given type for a given key. (Namedtuple doesn't really replace this, since it's immutable.)
This is a placeholder issue so I can refer to it -- Jukka has a bit of a design in his head already.
The text was updated successfully, but these errors were encountered:
Some code uses dicts with a fixed set of keys a lot as a poor-man's struct or record type. If the value types are heterogeneous this is hard to type-check, as code often assumes a given type for a given key. (Namedtuple doesn't really replace this, since it's immutable.)
This is a placeholder issue so I can refer to it -- Jukka has a bit of a design in his head already.
The text was updated successfully, but these errors were encountered: