Message13401
Logged In: YES
user_id=31435
Closed as Not-A-Bug. The internals of pickle strings aren't
guaranteed, just that "they work" when unpickled again, and
these do. If you want a hash code for a dict, don't dare use
pickle for this either, even if it appears "to work": it doesn't.
The order in which dict keys are enumerated isn't defined
either, and can and does vary across releases, and even
across program runs.
So a reliable hash code for a dict needs to be independent of
key iteration order, and no version of pickle spends time
trying to force that issue (waste of time -- it isn't needed for
pickling or unpickling). |
|
Date |
User |
Action |
Args |
2007-08-23 14:09:01 | admin | link | issue640645 messages |
2007-08-23 14:09:01 | admin | create | |
|