Mark Dickinson added the comment: Presumably float('-1e-1000') should also give -0. (?) If so, then it looks as though the fix ought to go in PyOS_ascii_strtod: one obvious possibility would be to replace any leading '-' sign by a '+' sign before calling the system strtod, then negate the result afterwards.
__________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1725> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com