It turned out that the python<->c++ glue code had issues with strings with \0 in them, this is fixed now.
It turned out that the python<->c++ glue code had issues with strings with \0 in them, this is fixed now.