I think you can move this particular import to the very top of tslib.pyx