Hi Bob,
The actual problem is that you're spending too much time before
creating the screen... your fix works around that problem by
calling NSApplicationLoad on import, but it breaks the detection
that goes on later in pygame.macosx to see if pygame is already
running in the context of an application and will break other things.
Try this instead, with no patch:
python -i -c "import pygame; pygame.init()"
Hmm, interesting. But your solution doesn't work for me:
(removed patch)
[ben@assam pygame] $ python2.4 -i -c "import pygame; pygame.init()"
>>> screen = pygame.display.set_mode((468, 60))
2005-08-03 22:55:45.478 python2.4[5089] *** Uncaught exception:
<NSInternalInconsistencyException> Error (1002) creating CGSWindow