close
Skip to content

NetMessenger Handle isn't Python 3 compatible #29

@neatsketched

Description

@neatsketched

Since upgrading from python2 to python3, I've found the way the loads method from the pickle module has changed and no longer accepts a string as an argument

According to the documentation, the python2 version accepts one string

pickle.loads(string)

Where as the new python3 version accepts a bytes_object

pickle.loads(bytes_object, *, fix_imports=True, encoding="ASCII", errors="strict")

Line of code I'm referencing:

sentArgs=loads(di.getString())

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions