Stefan Krah added the comment: It looks like the peephole optimizer chokes on some constant folding. Probably:
INF = float("inf") NAN = float("nan") -INF -NAN You could try some combinations in the REPL. ---------- nosy: +skrah _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue27444> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com