make clang happy; add missing setter to pyapi