Pygame programs hanging on exit

I’m tinkering around with pygame right now, and it seems like all the little programs that I make with it hang when I try to close them.

Take the following code, for example:

from pygame.locals …

Unused variable naming in python

Possible Duplicate:
How can I get around declaring an unused variable in a for loop?
In Python what is the best practice for naming a variable that is not going to be used? This is an odd …

Python, ctypes and mmap

I am wondering if it is possible for the ctypes package to interface with mmap.

Currently, my module allocates a buffer (with create_string_buffer) and then passes that using byref to my libraries …