summaryrefslogtreecommitdiff
path: root/py/objnamedtuple.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2017-04-01 23:52:24 +1100
committerDamien George <damien.p.george@gmail.com>2017-11-20 16:18:50 +1100
commitda154fdaf933e6546ae4d6888af1a79a76d71b4c (patch)
tree6c6bf68ed883075b502e3d71a2a006c7731469e4 /py/objnamedtuple.c
parent811ddcc65f9fb666228a9477139f4fceb31240dd (diff)
py: Add config option to disable multiple inheritance.
This patch introduces a new compile-time config option to disable multiple inheritance at the Python level: MICROPY_MULTIPLE_INHERITANCE. It is enabled by default. Disabling multiple inheritance eliminates a lot of recursion in the call graph (which is important for some embedded systems), and can be used to reduce code size for ports that are really constrained (by around 200 bytes for Thumb2 archs). With multiple inheritance disabled all tests in the test-suite pass except those that explicitly test for multiple inheritance.
Diffstat (limited to 'py/objnamedtuple.c')
0 files changed, 0 insertions, 0 deletions