This is a preliminary patch for pygame. I don't really have a test case for it outside of (hopefully) a successful build of pygame. We'll see how it goes.