This is a static archive of the Python wiki, which was retired in February 2026 due to lack of usage and the resources necessary to serve it — predominately to bots, crawlers, and LLM companies.
Pages are preserved as they were at the time of archival. For current information, please visit python.org.
If a change to this archive is absolutely needed, requests can be made via the infrastructure@python.org mailing list.

PygameOnCtypes

This project idea did in fact get picked up for the 2006 Summer of Code. Development of the project continues as the Pyglet library. See http://www.pyglet.org for more.

Pygame wraps some SDL libraries (SDL, SDL_Image etc) using C code. It also provides some extra misc. C functions.

Python2.5 will include ctypes in the standard library. SoC 2006 is a good opportunity to recreate the pygame API using ctypes. This will let the average python programmer, who does not work with C, to hack on and extend pygame.

This same work (ctypes conversion) is already happening with PyOpenGL. Note that the pyopengl-ctypes project has been going for years now, and is still not complete.

Some notes...


2026-02-14 16:07