Issue1516327
Created on 2006-07-03 13:22 by mamrhein, last changed 2007-11-01 17:41 by gvanrossum.
|
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.
|
|
| Date |
User |
Action |
Args |
| 2007-11-01 17:41:42 | gvanrossum | set | status: open -> closed resolution: wont fix messages:
+ msg57018 nosy:
+ gvanrossum |
| 2007-10-31 19:42:24 | klaas | set | nosy:
+ klaas messages:
+ msg56999 |
| 2006-07-03 13:22:42 | mamrhein | create | |
|