[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
https://bugs.libre-soc.org/show_bug.cgi?id=1094
--- 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):
pass
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