Issue 1516327: Module uuid: reduce pickle footprint (original) (raw)
Issue1516327
Created on 2006-07-03 13:22 by mamrhein, last changed 2022-04-11 14:56 by admin. This issue is now closed.
Messages (3) | ||
---|---|---|
msg50589 - (view) | Author: Michael Amrhein (mamrhein) | Date: 2006-07-03 13:22 |
In order to reduce the pickle footprint of UUIDs I would add a __reduce__ method to class UUID like def __reduce__(self): return (uuid, (self.int,)) together with a helper function (at module level) like def uuid(i): return UUID(int=i) | ||
msg56999 - (view) | Author: Mike Klaas (klaas) | Date: 2007-10-31 19:42 |
Is the footprint of UUID an issue? Note that changing the pickle format of UUID will require code that can unpickle both versions, for compatibility. I don't really see the need. Also, no real patch provided. | ||
msg57018 - (view) | Author: Guido van Rossum (gvanrossum) * ![]() |
Date: 2007-11-01 17:41 |
No clear problem, no patch. |
History | |||
---|---|---|---|
Date | User | Action | Args |
2022-04-11 14:56:18 | admin | set | github: 43603 |
2007-11-01 17:41:42 | gvanrossum | set | status: open -> closedresolution: wont fixmessages: + nosy: + gvanrossum |
2007-10-31 19:42:24 | klaas | set | nosy: + klaasmessages: + |
2006-07-03 13:22:42 | mamrhein | create |