Cython version of extent.
Native Python C API version of extent.