I discovered this bug when I where createing texuere buffer for depth-stencil buffering, but passing its type as GL_UNSIGNED_INT_24_8 trown an error.
Code for refferense:
dsTextuer = GL.glGenTextures(1)
GL.glBindTexture(GL.GL_TEXTURE_2D, dsTextuer)
GL.glTexImage2D(GL.GL_TEXTURE_2D, 0, GL.GL_DEPTH24_STENCIL8, self.width, self.height, 0, GL.GL_DEPTH_STENCIL, GL.GL_UNSIGNED_INT_24_8, None)
an error trown by glTexImage2D:
KeyError: (GL_UNSIGNED_INT_24_8, <opengl.gl.images.imageinputconverter object="" at="" 0x0000023a9f128ee0="">)</opengl.gl.images.imageinputconverter>
Because it's is possible to do in a C/C++ I assumed that was a bug in a python version, and after searching I found what while types like GL_UNSIGNED_INT_8_8_8_8 and GL_UNSIGNED_INT_10_10_10_2 are inside TYPE_TO_ARRAYTYPE dictionary and returns propper type, this specifick one wasn't there. And after adding it in a dictionary, code worked flawestly.