Closed abrichr closed 1 year ago
Thank you for your report.
I have to admit to being slightly confused about this issue, as I could not find any use of inspect.getargspec
in the code; I did not realise that this issue was on the feature branch feature-injected
!
I have rebased the feature branch onto the current master. Please note that the branch is currently not slated for merging into master, as I have yet to find a way to make it work on Xorg.
Description Adding types to callbacks produces the following exception:
Platform and pynput version MacOS 13.2.1 (22D68) Pynput: https://github.com/abrichr/pynput (based on https://github.com/moses-palmer/pynput/commit/96d50cbae0e9cfb21f7e236cec8cb298a256c1f9)
To Reproduce
Resolution
Change
inspect.getargspec(f)
toargspec = inspect.getfullargspec(f)
.See https://github.com/abrichr/pynput/commit/5d7256761b3cf6f01758c2d7d6a877d8facf79bb