[Libre-soc-bugs] [Bug 1094] insndb instruction database visitor-walker is needed

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Sun Jun 18 18:27:52 BST 2023


--- Comment #155 from Dmitry Selyutin <ghostmansd at gmail.com> ---
Now that I think about it, any hook can be expressed via callable, it's just a
bit more verbose:

@mdis.dispatcher.Hook(lambda typeid: issubclass(typeid, object))
def dispatch_mapping(self, instance):

I think we can leave the short form, but internally we can implement everything
as callables. Holy cow that's really powerful!

You are receiving this mail because:
You are on the CC list for the bug.

More information about the libre-soc-bugs mailing list