http://trac.sagemath.org/sage_trac/ticket/11975