mypy
88e2b67c - Support pickling of extension classes (#7481)

Commit
6 years ago
Support pickling of extension classes (#7481) This operates by providing default implementations of `__getstate__` and `__setstate__` for extension classes. Our implementations work by storing a `__mypyc_attrs__` tuple in each class that we generate and collecting all of the attributes in it into a dict. Fixes #697.
Author
Parents
Loading