pygame-ce icon indicating copy to clipboard operation
pygame-ce copied to clipboard

Surface multiphase init

Open oddbookworm opened this issue 8 months ago • 6 comments
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

oddbookworm avatar Feb 28 '25 19:02 oddbookworm