I obviously don't fully understand how exactly the .num are assigned, here is where more of that magic happens. But the point is that whatever np.dtype(np.long).num is, it will be the same as np.dtype ...