[Python-3000] passing bytes buffers to C with NUL characters in them? (original) (raw)
Bill Janssen janssen at parc.com
Sat Oct 27 02:37:15 CEST 2007
- Previous message: [Python-3000] base64.{decode,encode}string
- Next message: [Python-3000] passing bytes buffers to C with NUL characters in them?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I'm not sure what to use in PyArg_ParseTuple in 3K. I'm passing in bytes which may contain NUL characters. Using 's#' doesn't really work, because it erroneously accepts Unicode strings.
Bill
- Previous message: [Python-3000] base64.{decode,encode}string
- Next message: [Python-3000] passing bytes buffers to C with NUL characters in them?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]