[Python-Dev] pydoc for named tuples is missing methods

Greg Ewing greg.ewing at canterbury.ac.nz
Wed Mar 16 01:26:15 CET 2011


Tim Lesher wrote:

> Any test cases should definitely throw some diamond-pattern or even
> more degenerate cases at the implementation.  What *is* the worst case
> for MRO complexity?

I don't think that's an issue -- the MRO gets flattened into
a list at class creation time, so code that walks it never
sees any of the complexities of diamonds, etc.

-- 
Greg


More information about the Python-Dev mailing list