On Aug 24, 8:49 pm, "Hendrik van Rooyen" <[EMAIL PROTECTED]> wrote: > (a lot of stuff related to using a string with a C library via ctypes)
Very entertaining. But let me get this straight: Are you just complaining that if you pass a string to an arbitrary C function using ctypes, that that arbitrary function can modify the string? Because if you are, then I think you share a great deal of responsibility for the death of that string -- sending the poor thing to its grave through some unknown C function. What would you have ctypes do instead? -- http://mail.python.org/mailman/listinfo/python-list