[WIP] support non-CPython

xref #431