[ pyopengl-Bugs-3598395 ] pyopengl-3.0.2, python-2.5 syntax errors

SourceForge.net <[email protected]> Mon, 24 Dec 2012 14:12:33 -0800
Newsgroups gmane.comp.python.opengl.devel
Message-ID <[email protected]>
Bugs item #3598395, was opened at 2012-12-24 14:12
Message generated for change (Tracker Item Submitted) made by dol-sen
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105988&aid=3598395&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: Brian Dolbec (dol-sen)
Assigned to: Nobody/Anonymous (nobody)
Summary: pyopengl-3.0.2, python-2.5 syntax errors

Initial Comment:
There are 2 syntax errors for python-2.5 compatibility which your webpage states that this release is still compatible with.  In Gentoo we have restricted 2.5 for now.  It is of low importance for most users.  We can re-enable for python-2.5 if this is fixed, or you have a patch.  You also list python-3.2+ as experimental, We can enable that when you feel it is ready for further testing also.

build log excerpt:

036923  * Compilation and optimization of Python modules for CPython 2.5 ...
036924  [ !! ]
036925  *     /usr/lib64/python2.5/site-packages/OpenGL/arrays/_buffers.py:52: Warning: 'as' will become a reserved keyword in Python 2.6
036926  *     Compiling /usr/lib64/python2.5/site-packages/OpenGL/arrays/_buffers.py ...
036927  *     File "/usr/lib64/python2.5/site-packages/OpenGL/arrays/_buffers.py", line 52
036928  *     except AttributeError as err:
036929  *     ^
036930  *     SyntaxError: invalid syntax
036931  *     
036932  *     Compiling /usr/lib64/python2.5/site-packages/OpenGL/arrays/buffers.py ...
036933  *     File "/usr/lib64/python2.5/site-packages/OpenGL/arrays/buffers.py", line 23
036934  *     return self.asArray( bytearray( b'000'*reduce(operator.mul,dims)*BYTE_SIZES[typeCode] ) )
036935  *     ^
036936  *     SyntaxError: invalid syntax
036937  * Compilation and optimization of Python modules for CPython 2.6 ...
036938  [ ok ]
036939  * Compilation and optimization of Python modules for CPython 2.7 ...
036940  [ ok ]


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

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

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
PyOpenGL Homepage
http://pyopengl.sourceforge.net