-
-
Notifications
You must be signed in to change notification settings - Fork 367
Closed
Description
import trio
import pickle
pickle.dumps(trio)
gives
TypeError: cannot pickle '_ModuleWithDeprecations' object
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
/tmp/ipykernel_9132/1773362268.py in <module>
2 import pickle
3
----> 4 pickle.dumps(trio)
TypeError: cannot pickle '_ModuleWithDeprecations' object
This is problematic for serializing objects that have methods that use trio somehow.
Metadata
Metadata
Assignees
Labels
No labels