halting problem :: Something on my back

:: ~1 min read

dear, all-knowing and all-powerful lazyweb;

what’s the reason why python segfaults ((yes, python segfaults — and it does inside pygobject)) with this error message:

TypeError: Cannot create a consistent method resolution
order (MRO) for bases Container, Scriptable

when I’m trying to instantiate a python class inheriting from a C class that implements those two interfaces? just for the record:

  • the interfaces have no colliding methods
  • the python class is registering a GObject type
  • the python class has no colliding method with either interfaces

I can point at the code or, if python-gobject/gtk maintainers are at GUADEC, I can show them right away. you can easily find me: I’m the one swearing at python.

context-switch wordpress old-blog

Follow me on Mastodon