Kris Schnee wrote:
Lenard Lindstrom wrote:
pygame.quit() must be explicitly called since atexit functions are
not executed until IDLE's nteractive interpreter is either closed or
restarted.
What are the atexit functions, though, that interfere in this very
specific case?
The atexit module allows one to register exit handlers that are called
when Python exits. pygame.quit is one of those. But the IDLE interactive
interpreter process does not quit when the pygame program finishes, so
pygame.quit is not called. This may be the problem, especially since
everything works fine when IDLE is terminated and restarted. Note on
Window IDLE only runs one process if a file is opened for "Edit with IDLE".
--
Lenard Lindstrom
<[EMAIL PROTECTED]>