Re: [PyOpenGL-Devel] Python 3- strings or bytes interface
Brought to you by:
mcfletch
|
From: Greg E. <gre...@ca...> - 2012-04-05 23:31:27
|
Rob Reilink wrote: > So we could add a > glGetUnicode or glGetStr or glGetPyStr (suggestions for appropriate name > welcome) that always returns a 'str' -- 8 bit on Py2 and unicode on Py3. And have it take an optional encoding, defaulting to ascii. Then people won't be stuck if they happen to encounter a non-ascii glGetString result for some reason. -- Greg |