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

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Sat Jun 10 19:04:23 BST 2023


--- Comment #106 from Dmitry Selyutin <ghostmansd at gmail.com> ---
The proxy object I mentioned before is a bad option: it'll break our visitor
checks (because proxy object is a new type).

A new "path" property is a bad option too: it needs awful hacks with frozen
dataclasses which don't allow overriding attributes after instantiation, and,
what's worse, doesn't work with builtins (e.g. setting var.field fails if var
is of str type). Not an option either.

I'm still looking for options on how to yield fields which have names without
refactoring the walking process. But I'd say I don't have an inspiration yet.

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

More information about the libre-soc-bugs mailing list