"Terry Reedy" <[EMAIL PROTECTED]> writes: > "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.
If you use a binary protocol for pickle, yes. Cheers, mwh -- Java sucks. [...] Java on TV set top boxes will suck so hard it might well inhale people from off their sofa until their heads get wedged in the card slots. --- Jon Rabone, ucam.chat -- http://mail.python.org/mailman/listinfo/python-list