<div dir="ltr">Hi<div><br></div><div>I'm not sure where to find the problem. I'm saving pickled (cPickle) datetime keys in the database, and set the comparison function to load those keys and compare. When I call the set_range function, the right_key value the comparison function gets is **sometimes** truncated. Left key (the one I send) is always fine. The data in the database is fine too.<div>
<br></div><div>Ex. Left key </div><div><div>"datetime\ndatetime\np1\n(S'\\x07\\xdd\\x08\\x1f\\x17\\x1f\\x1f\\x0f\\x10\\x02'\ntRp2\n."</div></div><div><br></div><div>right key (truncated)</div><div><div>"cdatetime\ndatetime\np1\n(S'\\x07\\xdd\\t\\x04\\x1642\\x"</div>
</div><div><br></div><div>Do you know why? any fixes?</div><div><br></div><div>thank you,</div><div>Sachi.</div><div><br></div><div><div></div><div>.</div><div><br></div>-- <br>Xcorat :)
</div></div></div>