pygame-ce
pygame-ce copied to clipboard
Surface multiphase init
trafficstars
Since disabling the GIL on singlephase initialization requires the use of PyUnstable_* calls, I would like to make use of multiphase initialization whenever possible. Here is a tentative implementation for an initial port for pygame.Surface. Note that this is just for moving over to multiphase initialization and has nothing to do with free-threading. This should not affect current behavior in any way to the best of my understanding