Bugs item #1255395, was opened at 2005-08-10 11:15 Message generated for change (Comment added) made by stevenbird You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1255395&group_id=5470
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Windows Group: Platform-specific Status: Open Resolution: None Priority: 5 Submitted By: Steven Bird (stevenbird) Assigned to: Nobody/Anonymous (nobody) Summary: float('-inf') Initial Comment: Python 2.4.1 on Windows raises "ValueError: invalid literal for float(): -inf", though this works just fine on unix distributions of Python 2.4.1. ---------------------------------------------------------------------- >Comment By: Steven Bird (stevenbird) Date: 2005-08-10 22:49 Message: Logged In: YES user_id=195736 Oh, I thought Python 2.4.1 was the same language, regardless of which platform it was running on. I must be missing something here. ---------------------------------------------------------------------- Comment By: Michael Hudson (mwh) Date: 2005-08-10 22:35 Message: Logged In: YES user_id=6656 At most, this is a feature request (why did you think it would work?). Floating point to string (and vice versa) conversions are done by the C library implementation, and sadly they are no consistent (you'll notice that printing an infinite value on windows doesn't print out 'inf' either). ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1255395&group_id=5470 _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com