Skip to content
Snippets Groups Projects
Select Git revision
  • 07b056ad2531d01b50df43baa757f61e1cdbbb2f
  • master default protected
  • v1.14.7
  • v1.14.6
  • v1.14.5
  • v1.14.4
  • v1.14.3
  • v1.14.2
  • v1.14.1
  • v1.14.0
  • v1.13.2
  • v1.13.1
  • v1.13.0
  • v1.12.1
  • v1.12.0
  • v1.11.1
  • v1.11.0
  • v1.10.0
  • v1.9.2
  • v1.9.1
  • v1.9.0
  • v1.8.4
22 results

ansible_ipa_client.py

Blame
    • Thomas Woerner's avatar
      07b056ad
      Provide own getargspec for roles and modules with Python 3.11 · 07b056ad
      Thomas Woerner authored
      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)
      07b056ad
      History
      Provide own getargspec for roles and modules with Python 3.11
      Thomas Woerner authored
      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)
    ansible_ipa_client.py 13.65 KiB