Hi Travis,
No, these routines are about the python types. They get used as `type(x) is int` and `type(x) is long`. They are used in a different namespace from `cdef int x` and `cdef long x` and cdef long long x` (well, the `x` is in the cython object namespace. The C-types don't make it into the cython object namespace. They are in a C type namespace).
The cython test routine above confirms that the objects `int` and `long` (not the cdef type names!) are indeed the same object in cython
The code below confirms they are the python `int` type object:
sage: cython("""
....: def test(x):
....: return (x is long, x is int)
....: """)
sage: test(int)
(True, True)