Python 3 compatibility
Python 3 compatibility

Thanks to Claudio for the patch.

Fixes issue #729.

theblacklion/pyglet,oktayacikalin/pyglet,theblacklion/pyglet,oktayacikalin/pyglet,theblacklion/pyglet,theblacklion/pyglet,oktayacikalin/pyglet,theblacklion/pyglet,oktayacikalin/pyglet,oktayacikalin/pyglet