Scott David Daniels <[EMAIL PROTECTED]> writes: > What should marshal / unmarshal do with floating point NaNs (the case we > are worrying about is Infinity) ? The current behavior is not perfect.
So, after a fair bit of hacking, I think I have most of a solution to this, in two patches: make float packing copy bytes when they can http://python.org/sf/1181301 binary formats for marshalling floats http://python.org/sf/1180995 I'd like to check them both in pretty soon, but would really appreciate a review, especially of the first one as it's gotten a little hairy, mainly so I could then write some detailed tests. That said, if there are no objections I'm going to check them in anyway, so if they turn out to suck, it'll be YOUR fault for not reviewing the patches :) Cheers, mwh -- (Of course SML does have its weaknesses, but by comparison, a discussion of C++'s strengths and flaws always sounds like an argument about whether one should face north or east when one is sacrificing one's goat to the rain god.) -- Thant Tessman _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com