On Sep 23, 4:58 pm, Christian Heimes <[EMAIL PROTECTED]> wrote:
> Rob Kirkpatrick wrote:
> > I'm assuming this has been discussed before, but I'm lacking any
> > Google keywords that bring up the appropriate discussion.
>
> You are looking for "mro" aka method resolution order. The inspect
> module
On Sep 23, 5:53 pm, Rob Kirkpatrick <[EMAIL PROTECTED]>
wrote:
> Hi All,
>
> I just finished debugging some code where I needed to determine why
> one subclass had a bound method and another did not. They had
> different pedigree's but I didn't know immediately what the
> differences were.
>
> I e
On Sep 23, 5:53 pm, Rob Kirkpatrick <[EMAIL PROTECTED]>
wrote:
> Hi All,
>
> I just finished debugging some code where I needed to determine why
> one subclass had a bound method and another did not. They had
> different pedigree's but I didn't know immediately what the
> differences were.
>
> I e
Rob Kirkpatrick wrote:
I'm assuming this has been discussed before, but I'm lacking any
Google keywords that bring up the appropriate discussion.
You are looking for "mro" aka method resolution order. The inspect
module contains several helper functions to inspect a class hierarchy.
The foll
Hi All,
I just finished debugging some code where I needed to determine why
one subclass had a bound method and another did not. They had
different pedigree's but I didn't know immediately what the
differences were.
I ended up walking the hierarchy, going back one class at a time
through the cod