This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eric.smith
Recipients eric.smith, mark.dickinson
Date 2009-04-17.11:43:28
SpamBayes Score 4.6040123e-09
Marked as misclassified No
Message-id <1239968611.28.0.1061170636.issue5780@psf.upfronthosting.co.za>
In-reply-to
Content
I agree that there should be 2 behaviors, not 3.

This patch looks okay to me, and tests pass both with and without
defining PY_NO_SHORT_FLOAT_REPR.

One nit: You don't need to use Py_CHARMASK when using the ISDIGIT macro
locally defined in pystrtod.c. On the other hand, that macro (ISDIGIT)
should completely go away. I think it's there because this file is
trying to be locale-unaware, but isdigit from ctype.h is defined as
being locale-unaware (at least on all platforms I have access to and a
search on the net; my copy of C89 is at home and I can't triple-check
just yet).
History
Date User Action Args
2009-04-17 11:43:31eric.smithsetrecipients: + eric.smith, mark.dickinson
2009-04-17 11:43:31eric.smithsetmessageid: <1239968611.28.0.1061170636.issue5780@psf.upfronthosting.co.za>
2009-04-17 11:43:30eric.smithlinkissue5780 messages
2009-04-17 11:43:28eric.smithcreate