Skip to content
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

inspect.getargspec is deprecated since Python 3.0 #461

Closed
jasperges opened this issue Oct 28, 2019 · 0 comments · Fixed by #462
Closed

inspect.getargspec is deprecated since Python 3.0 #461

jasperges opened this issue Oct 28, 2019 · 0 comments · Fixed by #462

Comments

@jasperges
Copy link
Contributor

jasperges commented Oct 28, 2019

As stated in the docs the inspect.getargspec function is deprecated since Python 3.0 and inspect-getfullargspec is a drop-in replacement in most cases.

In my Blender integration I use function annotations and also have keyword-only parameters, which is handled correctly by getfullargspec (but not getargspec).

I will also make a pull request with a simple fix.
Pull request is here.

jasperges added a commit to jasperges/avalon-core that referenced this issue Oct 28, 2019
mottosso added a commit that referenced this issue Oct 30, 2019
Fix #461: use `getfullargspec` for Python 3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant