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 pgimeno
Recipients mark.dickinson, miss-islington, pgimeno
Date 2021-08-20.20:01:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1629489710.78.0.495316853355.issue44954@roundup.psfhosted.org>
In-reply-to
Content
> @Pedro Thanks again for the report! Just out of curiosity, how did you manage to find this?

I'm writing a C strtod implementation and I was adding corner cases to the unit testing (now published here: https://codeberg.org/pgimeno/ACSL/src/branch/master/tests/test-strtod.c). Sometimes I get confused by whether to add one or subtract one to the exponent as digits are moved, and since I have an interactive Python shell always open as a calculator, I used it to make sure that the test I was writing had the correct exponent. But the result I got was not the one I expected, and upon verification, I soon became convinced that it was a bug, so I dug a bit more (at first I didn't notice it only happened if the leading zero was left out) and finally submitted the bug.

Thanks for the quick fix, by the way.
History
Date User Action Args
2021-08-20 20:01:50pgimenosetrecipients: + pgimeno, mark.dickinson, miss-islington
2021-08-20 20:01:50pgimenosetmessageid: <1629489710.78.0.495316853355.issue44954@roundup.psfhosted.org>
2021-08-20 20:01:50pgimenolinkissue44954 messages
2021-08-20 20:01:50pgimenocreate