On Thu, Jul 28, 2011 at 4:37 PM, Lenard Lindstrom <[email protected]> wrote:

> René,
>
> Make the format string a macro that is "(ll)" for Python 2.4, "(nn)" for
> everything else.
>
>
Cool, I'll do that (once my python2.4 machine is working again).

I've applied the patch in the mean time.


It also fixes the test failures on OS X 10.7 64bit.  There are a couple of
failing tests left though on OS X.  I think they are related, but the errors
were there before the patch.

======================================================================
FAIL: PixelcopyModuleTest.test_map_array
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/Library/Python/2.7/site-packages/pygame-1.9.2pre-py2.7-macosx-10.7-intel.egg/pygame/tests/pixelcopy_test.py",
line 171, in test_map_array
    posn))
AssertionError: 4278190080 != -16777216: flags: 65536, bpp: 32, posn: (0, 0)

======================================================================
FAIL: SurfarrayModuleTest.test_array2d
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/Library/Python/2.7/site-packages/pygame-1.9.2pre-py2.7-macosx-10.7-intel.egg/pygame/tests/surfarray_test.py",
line 154, in test_array2d
    posn))
AssertionError: -16114116 != 4278853180: flags: 65536, bpp: 32, posn: (0, 0)

----------------------------------------------------------------------

Reply via email to