Description: replace getargspec with getfullargspec for Python 3.11 Author: Martin Origin: vendor Last-Update: 2023-11-02 --- This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ --- a/libervia/backend/tools/utils.py +++ b/libervia/backend/tools/utils.py @@ -70,7 +70,7 @@ # making partial unusable with current D-bus module (in add_method). # Should not be needed anywore once moved to Python 3 - ori_args = inspect.getargspec(func).args + ori_args = inspect.getfullargspec(func).args func = functools.partial(func, *fixed_args, **fixed_kwargs) if ori_args[0] == "self": del ori_args[0]