Skip to content
Snippets Groups Projects
Commit 07b056ad authored by Thomas Woerner's avatar Thomas Woerner
Browse files

Provide own getargspec for roles and modules with Python 3.11

Python 3.11 dropped compat inspect.getargspec. As the roles and modules
need to support Python2 and Python3, the code for getargspec has been
copied from Python 3.10 and is added as a fallback as soon as getargspec
can not be imported from inspect. The copied getargspec is using
getfullargspec internally.

Fixes: #855 (Python's inspect.getargspec was removed in version 3.11)
parent 90f6e14c
No related branches found
No related tags found
No related merge requests found
Showing
with 126 additions and 51 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment