Isolated rcont() for Cython dev