[ pyopengl-Bugs-2381114 ] Typo in copyBaseFunction method

"SourceForge.net" <[email protected]> Wed, 03 Dec 2008 03:27:30 +0000
Newsgroups gmane.comp.python.opengl.devel
Message-ID <[email protected]>
Bugs item #2381114, was opened at 2008-12-02 22:27
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105988&aid=2381114&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: v3.0.0
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Vincent Marchetti (vmarchetti)
Assigned to: Nobody/Anonymous (nobody)
Summary: Typo in copyBaseFunction method

Initial Comment:
Working with PyOpenGL-3.0.0b6 code

in the module OpenGL.platform.baseplatform , line 192 of the file baseplatform.py, the implementation of the method BasePlatform.copyBaseFunction

188 		return self.createBaseFunction(
189 			original.__name__, original.DLL, 
190 			resultType=original.restype, argTypes=original.argtypes,
191 			doc = original.__doc__, argNames = original.argNames,
192 			extension = original.argNames,
193 		)
194 	def nullFunction( 
195 		self,


I believe line 192 should be:
extension=original.extension

This was discovered when the copy of gluNurbsCallback function failed in using GLU.gluNurbs


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

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

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
PyOpenGL Homepage
http://pyopengl.sourceforge.net