-
Notifications
You must be signed in to change notification settings - Fork 16
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
[BUG] Dill dumps the python implementation by-value #88
Comments
Well, currently #87 is marked as wontfix. The second solution is easy to do, but I don't like to pollute the namespace. Before considering this, I would know a couple of things: First: you said
why Secondly, |
Dill has some special logic for detecting cases where it should also serialize the type itself (like if you dill a class that is defined in a module named
What if my frozendict contains things which cannot themselves be pickled, but dill handles them correctly? |
This is a really good point, but...
I failed to understand your explaining, sorry. Why a class defined in a |
PS #87 reopened, so first solution could be valid (and preferred). |
#91 merged |
I want to say a big Thank you to you, @apmorton . You found very obscure bugs and you fixed them with care. Thank you for your time, your code and your patience. |
Thanks for maintaining this library - it has been very helpful! |
OS version:
Ubuntu 22.04.3 LTS
Python3 version:
Python 3.11.6 | packaged by conda-forge | (main, Oct 3 2023, 10:40:35) [GCC 12.3.0]
This is because dill is attempting to locate the module member and cannot, so it assumes it must also send the type itself over the wire.
Two possible solutions are:
del core
from__init__.py
Expected output (depending on solution):
or
The text was updated successfully, but these errors were encountered: