Archives Aug. 12, 2009
Add context managers to PyOpenGL?
Written by
on
in
Snaking.
Playing a bit with Python context managers for PyOpenGL. Considering adding them pervasively, likely with a configuration flag. (idea is from Florian's gletools)...
- OpenGL.arrays.VBO -- make a context manager itself (this is already implemented)
- OpenGL.GL.compileShader -- make the shader int returned a context manager (implemented)
Those two I consider non-controversial, as they are already non-standard ...
PyGTA on Tuesday: Exceptional Conditions
Written by
on
in
Snaking.
Our open discussion on Tuesday will be on the topic of exceptional conditions (and how to handle them). More details on the PyGTA site.