[ pyopengl-Bugs-3536957 ] glutInit broken on python3 for no args

SourceForge.net <[email protected]> Thu, 21 Jun 2012 10:40:57 -0700
Newsgroups gmane.comp.python.opengl.devel
Message-ID <[email protected]>
Bugs item #3536957, was opened at 2012-06-21 10:40
Message generated for change (Tracker Item Submitted) made by tomobag
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105988&aid=3536957&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: GLUT
Group: v3.0.0
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Tom Palmer (tomobag)
Assigned to: Mike C. Fletcher (mcfletch)
Summary: glutInit broken on python3 for no args

Initial Comment:
The following code passes a unicode str for no args for python3:

    args = [as_8_bit(x) for x in args]
    if not count:
        count, args = 1, ['foo']

It might ought to say the following:

    if not count:
        count, args = 1, ['foo']
    args = [as_8_bit(x) for x in args]

Just try calling glutInit() on python3 to cause the problem.


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

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

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
PyOpenGL Homepage
http://pyopengl.sourceforge.net