Mark Dickinson <dicki...@gmail.com> added the comment: A somewhat related comment about formatting of infs and nans: I think that a formatted nan should never include a sign, even when it's explicitly asked for. For example:
"%+e" % float('nan') should give "nan" rather than "+nan" or "-nan". (In contrast, infinities should, and currently do, get the requested sign.) ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue4482> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com