← index #525Issue #5106
Related · high · value 2.646
QUERY · ISSUE

Method Resolution Order (MRO) is not compliant

openby pfalconopened 2014-04-28updated 2024-08-28
py-core

uPy currently implements depth-first MRO, which is equivalent to one used pre-Python2.2.
References:

  • http://python-history.blogspot.com/2010/06/method-resolution-order.html
  • https://www.python.org/download/releases/2.3/mro/
CANDIDATE · ISSUE

RFC: class.mro() is notimpl

openby pmp-popened 2019-09-13updated 2019-09-27
rfcpy-core

https://docs.python.org/3.5/library/stdtypes.html#class.mro

Lack of it can be annoying for writing proxy objects, missing .__bases__ and no mro() means no access to class hierachy at runtime for user defined classes.

Keyboard

j / / n
next pair
k / / p
previous pair
1 / / h
show query pane
2 / / l
show candidate pane
c
copy suggested comment
r
toggle reasoning
g i
go to index
?
show this help
esc
close overlays

press ? or esc to close

copied