Bug: Python 2.5/OS X Problems and Fixes for cwm-1.1.9b1

I downloaded http://www.w3.org/2000/10/swap/cwm-1.1.9b1.tar.gz and ran
the regression tests, but faced a few problems:

* The cwm.py and delta files did not exist, so I had to copy them over
from their original locations.
* In formula.py the __future__ statement didn't come first in the
file, a requirement in Python 2.5 but not Python 2.4, so I had to move
that.
* Some debug information didn't print due to some high-bytes, which I
didn't bother finding a proper fix for and just implemented a
workaround for.

The attached diff contains all of these changes, though it's mainly
just to highlight where the problems are so that you can fix them
properly. The regression tests all run successfully for me now.

Thanks,

(P.S. This is a resend; the archives weren't working.)

-- 
Sean B. Palmer, http://inamidst.com/sbp/

Received on Monday, 18 September 2006 06:44:45 UTC