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
One possible issue with that: The dict view types are implemented in C (in CPython), and are truly immutable. But the Mapping view types (collections.abc.KeysView, collections.abc.ValuesView and collections.abc.ItemsView) are implemented in Python, and have an easily accessible _mapping attribute. With no proxy around them, the original mapping could be accessed and even mutated.
UPDATED to add: Maybe having interfaces for them (zopefoundation/zope.interface#175) will make writing normal security definitions easier.
Basically something like
The text was updated successfully, but these errors were encountered: