[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 21:42:06 BST 2023
https://bugs.libre-soc.org/show_bug.cgi?id=1094
--- Comment #175 from Jacob Lifshay <programmerjake at gmail.com> ---
(In reply to Dmitry Selyutin from comment #173)
> Jacob, I'm having difficulties reading or understanding this massive cascade
> of with statements.
i was listing the different visitor functions that would be automatically
called (with assumed @hook decorations) by the walker when walking the given
python value, so you can see what i think should be recursively visited and
what should only go in the path. basically, an execution trace.
> But I suspect that you misinterpret how the API is used,
> because the API doesn't need to explicitly mark what's visited, hooks do it.
> Could you please check this README and adopt the code so that I could better
> understand the idea?
i'm not saying that's how a user will call it (it would be too complex of an
API if that were how users had to call it), but what functions with argument
values will be called by the walker automatically.
> https://git.libre-soc.org/?p=mdis.git;a=blob;f=README.md;
> h=aa540581aa598fcb34d91aaff4234c2213e3413e;hb=HEAD
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the libre-soc-bugs
mailing list