schollii / pypubsub

A Python publish-subcribe library (moved here from SourceForge.net where I had it for many years)
194 stars 29 forks source link

Listener keyword only args #30

Closed schollii closed 5 years ago

schollii commented 5 years ago

Indeed the fix was much simpler than expected once the transition to inspect.signature/Parameters was completed: the new inspect approach (first proposed by @skewty in #6) then allowed me in this PR to simplify CallArgsInfo considerably. Once that was done, the tests for keyword-only args passed without further modificaiton!

schollii commented 5 years ago

Fixes #6 Fixes #26