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
types.MappingProxyType is documented as 'Read-only proxy of a mapping'.
But if used with a collections.defaultdict mapping, it can modify the underlying mapping.
types.MappingProxyType is documented as
'Read-only proxy of a mapping'. But if used with a collections.defaultdict mapping, it can modify
the underlying mapping.
Technically, the underlying mapping is modifying itself. That is allowed.
Also, there isn't really anything that the mapping proxy can do about it. All MappingProxy can do it forward calls to methods that are usually non-mutating.
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: