Le Fri, 20 Sep 2013 15:36:45 +0200, Jesus Cea <jcea at jcea.es> a écrit : > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 20/09/13 15:31, Antoine Pitrou wrote: > > sys.intern is an internal interpreter optimization and should be > > orthogonal to pickling. If pickle can't detect already-seen bytes > > object, then you may file an improvement request on the bug > > tracker. > > Understood. Thanks for the clarification. > > Pickle manage correctly "same object" references, but not "different > objects but equivalent". That is the issue. Ah, well, in that case the issue is not in pickle, it's in your code. pickle doesn't try to guess if "equal" is really functionally equivalent to "identical". Regards Antoine.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4