-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
module 'inspect' has no attribute 'getargspec' #377
Comments
Hello @Timoses, Thank you for bringing this problem to my attention. It looks like this is the only use of that function that wasn't patched. This will be fixed in the next version (1.0.0). I expect to have that out sometime next month. For the moment, you can fix it manually by changing line 393 in context.py to the following: (args, _, varkw, defaults) = inspect.getfullargspec(self._function)[0:4] |
Re: #377. This class now uses the inspect module's `getfullargspec' function, instead of the old deprecated one, on Python version 3 and above.
This change has not yet been pushed to PyPI which is still causing the errors specified above. |
I published a release candidate version (1.0.0-rc2) with the change. I'm planning to release version 1.0.0 proper very soon. |
According to inspect documentation (python 3.11)
getargspec
is legacy.The text was updated successfully, but these errors were encountered: