João Bernardo <jbv...@gmail.com> added the comment: That's what I said by `nan` and `inf` are not literals, but their representations look like they should be.
One solution could be to add another argument to allow some extra names. Maybe a mapping, as `eval`. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue15245> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com