Archives April 5, 2012
Libraries Exposing 8-bit Binary Strings to Python 3, Best Practice?
Written by
on
in
Snaking.
Query came up on PyOpenGL-dev this morning about how to handle GLchar pointer arguments. These are binary-specified arguments, they are human-readable text *most* of the time, ascii source-code and identifiers, that kind of thing, but nothing about GLchar pointer requires that they be ascii. They *are* 8-bit character strings (that's what GLchar pointer means).
But ...