-
Notifications
You must be signed in to change notification settings - Fork 176
Parametrized type annotation raises error #298
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
Comments
I'm guessing you are running a Python version of 3.5 or 3.6. I ran into this problem a while back and made this PR to aggressively remove type annotations from earlier versions of Python altogether. It looks like this newer PR updates those changes to include annotations for 3.5-3.6, and was included in the 1.2.0 release of The ultimate problem is that certain types are simply not pickleable in 3.5 / 3.6, leading to inconsistent serialization behavior depending on the type annotations someone uses. I'm not a core |
#299 was merged and released in cloudpickle 1.2.2. |
In cloudpickle 1.2.1
results in
whereas in 1.1.1
The text was updated successfully, but these errors were encountered: