Skip to content

DeprecationWarning: inspect.getargspec() is deprecated #76

Closed

Description

@afi-lambda

When using rtu.send_message() of your lib with Python 3.6.6 and pytest, I have a warning:

...\venv\lib\site-packages\umodbus\functions.py:129: DeprecationWarning: inspect.getargspec() is deprecated, use inspect.signature() or inspect.getfullargspec()

Modifiying line 129 of functions.py from:
...inspect.getargspec(...
to:
...inspect.getfullargspec(...
remove the warning in my case

Perhaps you could integrate this change in your code

Activity

  1. OrangeTux commented on Dec 3, 2019

    @OrangeTux
    Collaborator

    Thanks for your notification!

  2. added 2 commits that reference this issue on Dec 4, 2019
    505d006
    de1c091
  3. added a commit that references this issue on Dec 4, 2019
    bfd074d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions