[issue41931] Make dict(object) return its attribute __dict__
Irit Katriel
report at bugs.python.org
Sun Oct 4 13:38:53 EDT 2020
Irit Katriel <iritkatriel at yahoo.com> added the comment:
You ignored the other point I made: dict is not a function, it is a class. dict() calls the function dict.__init__() which should create a new instance of dict (not return some field of its parameter).
You also didn't justify your suggestion in any way. Why should this change be made?
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41931>
_______________________________________
More information about the Python-bugs-list
mailing list