That should work in most normal circumstances. However, with CPython there are two implementations of operator module: the C implementation and the pure Python implementation. If the pure python ...