You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
re-work the tracing methods to support per hook tracing and if global tracing is desired have the manager loop through all underlying callers to insert trace functions.
The text was updated successfully, but these errors were encountered:
For the second point I have a plan as well, will submit after the first PR is merged.
As for point 3, it should be possible, however the implementation plan of iterating over all _HookCallers is foiled by PluginManager.subset_hook_caller() which returns an untracked _HookCaller (and we probably don't want to track it, unless using weak references).
This relates to #217 as well as discussion in other issues.
The main refactoring would include:
PluginManager._inner_hookexec
lambda
indirection onto the_HookCaller
PluginManager._hookexec
entirelyThe text was updated successfully, but these errors were encountered: