[Python-Dev] Multiple inheritance from builtin (C) types [still] supported in Python3?

Greg Ewing greg.ewing at canterbury.ac.nz
Wed Apr 30 08:48:59 CEST 2014


Paul Sokolovsky wrote:

> Well, here it itches to ask if C++-like offsetting of subclass to base
> class "this" pointer was considered,

I suppose in theory it would be possible to build a new
set of __slot__ descriptors for the subclass. It mightn't
even be all that difficult. My guess would be that it
wasn't considered worth the effort, if it was considered
at all.

-- 
Greg


More information about the Python-Dev mailing list