We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Objects that are serialized using Python 3.10 produce an error when attempting to load with Python 3.11
Version: cloudpickle==3.1.1
cloudpickle==3.1.1
Steps to reproduce:
Save object using Python 3.10
import cloudpickle squared = lambda x: x ** 2 with open('squared.pkl', 'wb') as f: cloudpickle.dump(squared, f)
Load object using Python 3.11
import cloudpickle with open('squared.pkl', 'rb') as f: squared = cloudpickle.load(f) ... Traceback (most recent call last): File "<stdin>", line 2, in <module> TypeError: code() argument 13 must be str, not int
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Objects that are serialized using Python 3.10 produce an error when attempting to load with Python 3.11
Version:
cloudpickle==3.1.1
Steps to reproduce:
Save object using Python 3.10
Load object using Python 3.11
The text was updated successfully, but these errors were encountered: