Do you blit a surface onto itself? When I upgraded pygame a few weeks ago this was what was causing this error in one of my projects. I fixed the problem by making a copy of the surface and then blitting the copy back onto the original.