[ pyopengl-Bugs-3504388 ] missing constant in 3.0.2a5

SourceForge.net <[email protected]> Wed, 14 Mar 2012 06:46:14 -0700
Newsgroups gmane.comp.python.opengl.devel
Message-ID <[email protected]>
Bugs item #3504388, was opened at 2012-03-14 06:46
Message generated for change (Tracker Item Submitted) made by nobody
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105988&aid=3504388&group_id=5988

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: missing constant in 3.0.2a5

Initial Comment:
Missing constant in 3.0.2a5:

Python 2.7 (r27:82500, Sep 16 2010, 18:02:00) 
[GCC 4.5.1 20100907 (Red Hat 4.5.1-3)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import OpenGL
>>> OpenGL.__version__
'3.0.2a5'
>>> import OpenGL.GL
>>> OpenGL.GL.GL_VERTEX_SHADER_ARB
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: 'module' object has no attribute 'GL_VERTEX_SHADER_ARB'

Compare 3.0.2a2:
Python 2.7 (r27:82500, Sep 16 2010, 18:02:00) 
[GCC 4.5.1 20100907 (Red Hat 4.5.1-3)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import OpenGL
>>> OpenGL.__version__
'3.0.2a2'
>>> import OpenGL.GL
>>> OpenGL.GL.GL_VERTEX_SHADER_ARB
GL_VERTEX_SHADER_ARB

Other notes:
-- seen on Fedora 14 and 16
-- looking at source, PyOpenGL-3.0.1-py2.7.egg/OpenGL/raw/GL/constants.py appears to be the home of this constant, and it's missing in 3.0.2a5
-- presumably all constants in that file are affected; the constant above is just the first one hit in my code

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105988&aid=3504388&group_id=5988

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
PyOpenGL Homepage
http://pyopengl.sourceforge.net