[issue41751] Error copying an instance of a subclass of OrderedDict

Serhiy Storchaka report at bugs.python.org
Wed Sep 9 07:21:47 EDT 2020


Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:

It would break the code which expect that __init__() be called (I do not know if there are much such code, but still). It also would not work with the original pure Python implementation of OrderedDict, which initializes the OrderedDict object in __init__(), not in __new__().

----------
nosy: +rhettinger, serhiy.storchaka

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41751>
_______________________________________


More information about the Python-bugs-list mailing list