Fixed #defines to work with npy_3kcompat and bytes.
npy_3kcompat redefines old PyString_X to use bytes, but this breaks
compatibility with python code expecting new strings. The solution is to
use PyUnicode wherever possible instead of PyBytes.
正在显示
请
注册
或者
登录
后发表评论