``prefix_len`` is dependent on ``typeobj->tp_name``. The bug this PR is about is that in user defined classes, the ``"numpy."`` prefix doesn't exist and the later use of ``prefix_len`` leads to a SystemError.