pluggy
pluggy copied to clipboard
A minimalist production ready plugin system
we currently have self magic in place to handle unbound methods and passed in classes ass signature (see #359) handles the bound methods so much better, we should ensure hook-specs...
currently hook specs just provide the parameters if it was allowed to have them provide more details, this could be a win a very initial draft is something like ```...
Switch to `inspect.signature` instead of `inspect.getfullargspec` to properly support wrapper chains (decorated functions) - see details in issue #358 . In the proposed change I tried to do the minimal...
Please see details at: https://github.com/jaraco/keyring/pull/582#issuecomment-1200450421 Suggestion for `pluggy._hooks:varnames`: use `inspect.signature(func)` instead of `getfullargspec` since it has the ability to follow wrapper chains (and that's actually the default behavior): https://docs.python.org/3/library/inspect.html#inspect.signature As...
All of the Hook* classes are somewhat confusing to me, and I always have to rediscover how they relate. So I created an ASCII diagram of it. I think it's...
This is not a bug report but more of a general question about pluggy. I know there was talks a few years ago of changing the way entry_points are loaded...
### ❓ Question I'm new to pluggy, and trying to decide whether to use it as the plugin manager in a project I work on (looks great!). One of the...
Make hook wrappers more reliable by calling remaining tear down stages even an exception thrown in some wrapper during this step. Currently such code could be called too late when...
In Python 3, every raisable thing inherits from BaseException, so the `except BaseException` in the code already handles every possible exit. So we can reduce the indentation and the slight...