STINNER Victor added the comment: Except of my small suggestion on the doc (see the review), math_inf_nan4.patch looks good to me. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue23185> _______________________________________