Skip to content

Conversation

@mdboom
Copy link

@mdboom mdboom commented Jan 17, 2014

This is a PR against astropy#1961 which pickles the entire __dict__ of the Quantity object so that subclasses of Quantity don't also have to worry about writing explicit __reduce__ and __setstate__ methods. This essentially combines the Numpy array pickling (which is custom and uses __reduce__) with the standard way that Python objects are pickled.

@ryanfox ryanfox merged commit 901a2e6 into ryanfox:wrap-angle-pickling Jan 18, 2014
@mdboom mdboom deleted the unit/pickling-quantities branch May 21, 2014 23:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants