Hi, just a quick follow-up to mention this PEP: http://www.python.org/dev/peps/pep-3123/ So this problem will actually go away in Py3. I assume that this difference may also mean a few changes in the code Cython generates, although we generally use tons of casts already. Stefan