improved cython_ctype() error

Does this work for you @girving?