[issue7743] Additional potential string - float conversion issues.

2010-01-23 Thread Chris Withers
Chris Withers ch...@simplistix.co.uk added the comment: Out of curiosity, is it possible to write unit tests for any/all of this? I haven't yet found any examples that cause this crash without bigcomp enabled. I presume you meant *with* bigcomp enabled? Forgive my lack of knowledge, but

[issue7743] Additional potential string - float conversion issues.

2010-01-23 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Out of curiosity, is it possible to write unit tests for any/all of this? There are some tests in Lib/test/test_strtod.py, that I added around two weeks ago and have been updating since; I don't have mechanism for running tests with the

[issue7743] Additional potential string - float conversion issues.

2010-01-23 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: I forgot to mention: the other reason one might want to disable the bigcomp stuff is that it seems less reliable than the rest of the code: of the 11-12 independent bugs that I found in dtoa.c recently, around 9 of them were related to

[issue7743] Additional potential string - float conversion issues.

2010-01-23 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: First bug fixed (in the trunk) in r77713. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7743

[issue7743] Additional potential string - float conversion issues.

2010-01-22 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Second bug listed here fixed in r77698 in the trunk. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7743 ___

[issue7743] Additional potential string - float conversion issues.

2010-01-20 Thread Mark Dickinson
New submission from Mark Dickinson dicki...@gmail.com: 1. Another potential crash caused by Python/dtoa.c: if the bigcomp functionality is disabled by replacing #define STRTOD_DIGLIM 40 with #define STRTOD_DIGLIM 4000, then the following string causes a crash: s =

[issue7743] Additional potential string - float conversion issues.

2010-01-20 Thread Eric Smith
Changes by Eric Smith e...@trueblade.com: -- nosy: +eric.smith ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7743 ___ ___ Python-bugs-list mailing

[issue7743] Additional potential string - float conversion issues.

2010-01-20 Thread Mark Dickinson
Mark Dickinson dicki...@gmail.com added the comment: Okay, it's not that difficult to trigger (2). With the bigcomp functionality disabled as above: AssertionError: Incorrectly rounded str-float conversion for