Xunning Yue <xunningy at ece.arizona.edu> writes: > Is this a bug or a feature of Python? Can anyone answer this? It's a known bug. Instances always support the "number protocol" on the C level, and this is what this function checks. Regards, Martin