Cython 0.19 disables assignment of `char *` to `str`
Merge pull request #340 from minrk/c19

Cython 0.19 will disable assignment of `char *` to `str`

closes #339