没有gil不允许访问Python属性

时间:2019-07-03 12:59:22

标签: python cython

我正在编译代码包,并且收到以下错误:

strats/merlin/tradega.pyx:146:50: Accessing Python attribute not allowed without gil

146行是:

if pars[_idx_exit]<=(pars[_idx_entry]-settings.margin): check1=1

请让我知道发生这种情况的可能原因

谢谢

0 个答案:

没有答案