[M3devel] [M3commit] CVS Update: cm3

Randy Coleburn rcoleburn at scires.com
Wed Nov 12 19:49:19 CET 2008


Rodney:
 
Is this change simply to make PM3 and CM3 more compatible wrt pickles, or does it alter current behavior for folks who only use CM3 ? (i.e., will it result in a change to the way CM3 pickles are represented that may affect current CM3 users?)
 
Regards,
Randy

>>> Rodney M. Bates <rodney at elego.de> 11/12/2008 4:21 PM >>>
CVSROOT:/usr/cvs
Changes by:rodney at birch.08/11/12 16:21:41

Modified files:
cm3/m3-libs/libm3/src/pickle/ver2/: Pickle2.m3 

Log message:
Pickles in both PM3 and CM3 have some hard-coded
fingerprints for common types, but the values
are not consistent about byte order.

Fix CM2 pickle-reading code to accept values of types
NULL, ROOT, UNTRACED ROOT, ADDRESS, AND REFANY,
written by PM3 pickle-writing code.  Probably,
the latter two can't even happen in a pickle, unless
somebody wrote a custom special for them.

This still won't handle a more complex type that depends
on these types, e.g., an object that contains a field of
one of them.  This latter is probably not feasable, because
it would require "decrypting" fingerprints, and the hash
algorithm for fingerprints is lossy.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://m3lists.elegosoft.com/pipermail/m3devel/attachments/20081112/456771f5/attachment-0002.html>


More information about the M3devel mailing list