PyStructSequence supports pickling and copying, but there are no tests for this. There is only one trivial test which tests that __reduce__() does not raise exception or crash.
Needed explicit tests for copy.copy(), copy.deepcopy() (it is the same, but still), pickle.dumps()/pickle.loads().
cc @XuehaiPan
Linked PRs
PyStructSequence supports pickling and copying, but there are no tests for this. There is only one trivial test which tests that
__reduce__()does not raise exception or crash.Needed explicit tests for
copy.copy(),copy.deepcopy()(it is the same, but still),pickle.dumps()/pickle.loads().cc @XuehaiPan
Linked PRs