You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
AttributeError when pickling generic type annotations on Python 3.6 #347
I understand that type annotations are not supported for Python 3.6, but I'm getting an AttributeError for abc._get_dump when pickling generic type annotations.
Python 3.6.8
cloudpickle 1.3.0:
File "/home/pedro/.virtualenvs/KZG8XYVK/lib/python3.6/site-packages/cloudpickle/cloudpickle.py", line 899, in save_global
self.save_dynamic_class(obj)
File "/home/pedro/.virtualenvs/KZG8XYVK/lib/python3.6/site-packages/cloudpickle/cloudpickle.py", line 642, in save_dynamic_class
(registry, _, _, _) = abc._get_dump(obj)
AttributeError: module 'abc' has no attribute '_get_dump'
Activity
pierreglaser commentedon Feb 19, 2020
Thank you very much for the compact reproducer. I'll investigate.
py-cloudpickle: updated to 2.0.0