[issue11854] __or__ et al instantiate subclass of set without calling __init__

Raymond Hettinger report at bugs.python.org
Sun Apr 17 06:15:29 CEST 2011


Raymond Hettinger <raymond.hettinger at gmail.com> added the comment:

If some code were added to call __init__ for the new instance of a set/frozenset subclass, it would have to make an assumption that the method's signature allowed it to be called without any arguments.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11854>
_______________________________________


More information about the Python-bugs-list mailing list