main icon indicating copy to clipboard operation
main copied to clipboard

implement type.mro()

Open ironpythonbot opened this issue 10 years ago • 1 comments

Including user overrides:

type.mro(int)  

class User(type):  
    def mro(cls):
        return ['a','b']

The user overload should then impact how mro works for subtypes.

At the moment we are throwing NotImplementedErrors for all of the above.

Work Item Details

Original CodePlex Issue: Issue 1060 Status: Active Reason Closed: Unassigned Assigned to: Unassigned Reported on: Jul 19, 2006 at 12:54 AM Updated on: Feb 22, 2013 at 2:17 AM Updated by: jdhardy

ironpythonbot avatar Dec 09 '14 16:12 ironpythonbot

The first item

type.mro(int)

works now.

slide avatar Nov 03 '16 02:11 slide