Testing a Fresh Checkout Encounters Errors

So it turns out that the xml-generation branch for PyOpenGL was entirely broken. I'd cleaned up a module (OpenGL/constants.py) that shouldn't have been necessary any more, as the types and constants were moved into the OpenGL/raw/GL hierarchy.  Oops, turns out that everything imports that module.  Spent a ridiculous amount of time fixing that (i.e. making everything point to the "correct" location) only to realize that I'd actually documented the use of OpenGL.constants from client code where the user wanted to get e.g. GLint, GLdouble, etc definitions but didn't want to import all of OpenGL.GL (which also has them).  The bug was hidden from all my testing because a .pyc file was still sitting in my checkout. Duh.


Comments are closed.


Pingbacks are closed.