We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Our methodology for serializing core python objects works for lots of things, but not certain kinds of types and methods. For instance
import numpy import typed_python.Codebase as Codebase sc = Codebase.Codebase.coreSerializationContext() sc.serialize(numpy.array) # throws sc.serialize(numpy.array([1,2,3])) # OK sc.serialize(numpy.array([1,2,3]).max) # throws sc.serialize(numpy.max) # throws
throw errors where named. We should be able to serialize any of these.
The text was updated successfully, but these errors were encountered:
We can now serialize 'numpy.array', but not the method. Nor can we serialize bound methods of regular classes.
Sorry, something went wrong.
We should really just support the reduce protocol for objects like these
c.f #417
Further tests for bound methods and numpy objects
a636a3a
Tests that the reduce protocol is properly implemented, and that issue #107 is fixed.
9dd1069
Successfully merging a pull request may close this issue.
Our methodology for serializing core python objects works for lots of things, but not certain kinds of types and methods. For instance
throw errors where named. We should be able to serialize any of these.
The text was updated successfully, but these errors were encountered: