Menu

#252 glutInit broken on python3 for no args

v3.0.0
open
GLUT (25)
5
2012-06-21
2012-06-21
Tom Palmer
No

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.

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.