"Grant Edwards" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I'm working on it. I should have said it's trivial if you have > access to the platforms to be supported. I've tested a fix > that supports pickle streams generated under Win32 and glibc. > That's using the "native" string representation of a NaN or > Inf. > > A perhaps simpler approach would be to define a string > representation for Python to use for NaN and Inf. Just because > something isn't defined by the C standard doesn't mean it can't > be defined by Python.
I believe that changes have been made to marshal/unmarshal in 2.5 CVS with respect to NAN/INF to eliminate annoying/surprising behavior differences between corresponding .py and .pyc files. Perhaps these revisions would be relevant to pickle changes. TJR -- http://mail.python.org/mailman/listinfo/python-list