Skip to content

Deprecation Warning: inspect.getargspec and formatargspec #7

@daniel-farrell-blockfi

Description

@daniel-farrell-blockfi
../usr/local/lib/python3.10/site-packages/urllib3_mock.py:45
  /usr/local/lib/python3.10/site-packages/urllib3_mock.py:45: DeprecationWarning: inspect.getargspec() is deprecated since Python 3.0, use inspect.signature() or inspect.getfullargspec()
    args, a, kw, defaults = inspect.getargspec(func)

../usr/local/lib/python3.10/site-packages/urllib3_mock.py:47
  /usr/local/lib/python3.10/site-packages/urllib3_mock.py:47: DeprecationWarning: `formatargspec` is deprecated since Python 3.5. Use `signature` and the `Signature` object directly
    signature = inspect.formatargspec(args, a, kw, defaults)

../usr/local/lib/python3.10/site-packages/urllib3_mock.py:51
  /usr/local/lib/python3.10/site-packages/urllib3_mock.py:51: DeprecationWarning: `formatargspec` is deprecated since Python 3.5. Use `signature` and the `Signature` object directly
    callargs = inspect.formatargspec(args, a, kw, None)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions