Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NetMessenger Handle isn't Python 3 compatible #29

Open
neatsketched opened this issue Jan 9, 2019 · 0 comments
Open

NetMessenger Handle isn't Python 3 compatible #29

neatsketched opened this issue Jan 9, 2019 · 0 comments

Comments

@neatsketched
Copy link

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())

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant