1. pygame
  2. Untitled project
  3. pygame

Issues

Issue #136 resolved

python 3 fixes

illume
created an issue

There's a few python 3 problems.

{{{ building 'pygame.sdlmain_osx' extension /usr/bin/llvm-gcc -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -Os -w -pipe -march=core2 -msse4 -mmacosx-version-min=10.6 -Ddarwin -D_THREAD_SAFE -I/usr/X11R6/include -I/usr/local/include/SDL -I/usr/local/Cellar/python3/3.2.3/include/python3.2m -c src/sdlmain_osx.m -o build/temp.macosx-10.6-x86_64-3.2/src/sdlmain_osx.o /usr/bin/llvm-gcc -bundle -undefined dynamic_lookup -L/usr/local/Cellar/readline/6.2.2/lib -L/usr/local/lib build/temp.macosx-10.6-x86_64-3.2/src/sdlmain_osx.o -L/usr/local/lib -lSDLmain -lSDL -o build/lib.macosx-10.6-x86_64-3.2/pygame/sdlmain_osx.so -Wl,-framework,Cocoa File "/usr/local/Cellar/python3/3.2.3/lib/python3.2/site-packages/pygame/examples/movieplayer.py", line 47 print "new screen..." ^ SyntaxError: invalid syntax

  File "/usr/local/Cellar/python3/3.2.3/lib/python3.2/site-packages/pygame/tests/test_utils/png.py", line 1863
    except ValueError, e:
                     ^
SyntaxError: invalid syntax

}}}