[Python-Dev] inspect and metaclasses

R. David Murray rdmurray at bitdance.com
Fri Sep 6 17:44:08 CEST 2013


On Fri, 06 Sep 2013 08:14:09 -0700, Ethan Furman <ethan at stoneleaf.us> wrote:
> On 09/06/2013 07:47 AM, Armin Rigo wrote:
> >
> > Are you suggesting that inspect.getmro(A) would return (A, object,
> > type)?  That seems very wrong to me.
> 
> Currently, `inspect.getmro(A)` returns `(A, object)`.

Which matches A.__mro__.  EOD, I think.

--David


More information about the Python-Dev mailing list