pygame-community / pygame-ce

🐍🎮 pygame - Community Edition is a FOSS Python library for multimedia applications (like games). Built on top of the excellent SDL library.
https://pyga.me
770 stars 120 forks source link

Remove use of Py_BuildValue("(ii)") #2819

Closed itzpr3d4t0r closed 2 months ago

itzpr3d4t0r commented 2 months ago

This PR removes all occurrences of Py_BuildValue("(ii)") and swaps them with the faster pg_tuple_couple_from_values_int.

damusss commented 2 months ago

I don't know if my recent PR will be approved but I'm also gonna replace that function, thanks for the "idea"