[docs] [issue10977] Concrete object C API considered harmful to subclasses of builtin types

Eric Snow report at bugs.python.org
Mon Oct 21 17:38:02 CEST 2013


Eric Snow added the comment:

> Because calling them *from* method implementations in concrete subclasses...

We do the same thing from Python all the time (though less so with the availability of super).
E.G. dict.__init__(self, ...) and dict.__set item__(self, key, value).

Now, if the C-API had some equivalent to super...

----------

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


More information about the docs mailing list