-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
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
Allow serialization of Galois field #388
Comments
would probably be a feature request |
I don't believe I've made a class pickleable before, but it seems possible. I think maybe adding https://docs.python.org/3/library/pickle.html#pickling-class-instances |
@raeudigerRaeffi I believe I resolved this in #393. Can you test it on your side? You can install that branch like this.
|
@raeudigerRaeffi this should be resolved. Feel free to re-open or open a new issue if you continue to have problems. |
I recently tried playing around with multithreading and noticed, that I can not pass the Galois field object to a thread, since the Galois class can not be pickled. An example error would be
PicklingError: Can't pickle <class 'galois.GF(47)'>: attribute lookup GF(47) on galois failed
The text was updated successfully, but these errors were encountered: