getavalon / core

The safe post-production pipeline - https://getavalon.github.io/2.0
MIT License
214 stars 48 forks source link

`inspect.getargspec` is deprecated since Python 3.0 #461

Closed jasperges closed 4 years ago

jasperges commented 4 years ago

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.