Dennis Sweeney <[email protected]> added the comment:
I think this will also require typing.MappingProxyType to change a bit, since
it would make a proxy's underlying dict accessible:
>>> d = dict()
>>> proxy = MappingProxyType(d)
>>> type(proxy.items()) is type(d.items()) # should be False
True
>>> proxy.items().mapping is d # should be False
???
----------
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue40890>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com