interactive help on the base object

Chris Angelico rosuav at gmail.com
Mon Dec 9 08:39:21 CET 2013


On Mon, Dec 9, 2013 at 6:31 PM, Alan Bawden
<alan at scooby-doo.csail.mit.edu> wrote:
> I don't believe that this was done for any deep principled reason, but
> rather it was just permitted because the algorithm for computing method
> resolution order didn't actually care whether there were inheritance
> cycles -- it still terminated and returned an ordered list of component
> classes.

How does that work, exactly? How do you have a class inherit
(ultimately) from itself, and how does that impact the component class
list?

ChrisA



More information about the Python-list mailing list