[issue7743] Additional potential string -> float conversion issues.

2010-01-23 Thread Mark Dickinson
Mark Dickinson added the comment: First bug fixed (in the trunk) in r77713. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___

[issue7743] Additional potential string -> float conversion issues.

2010-01-23 Thread Mark Dickinson
Mark Dickinson 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 the bigcomp code. --

[issue7743] Additional potential string -> float conversion issues.

2010-01-23 Thread Mark Dickinson
Mark Dickinson 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 altered STRTOD_DIGL

[issue7743] Additional potential string -> float conversion issues.

2010-01-23 Thread Chris Withers
Chris Withers 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 why would you disable b

[issue7743] Additional potential string -> float conversion issues.

2010-01-22 Thread Mark Dickinson
Mark Dickinson added the comment: Second bug listed here fixed in r77698 in the trunk. -- ___ Python tracker ___ ___ Python-bugs-list

[issue7743] Additional potential string -> float conversion issues.

2010-01-20 Thread Mark Dickinson
Mark Dickinson 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 1165128749405941956386179070925698815190347932293852285691651915418908465646697717148969160848839879

[issue7743] Additional potential string -> float conversion issues.

2010-01-20 Thread Eric Smith
Changes by Eric Smith : -- nosy: +eric.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

[issue7743] Additional potential string -> float conversion issues.

2010-01-20 Thread Mark Dickinson
New submission from Mark Dickinson : 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 = >>> '52544065335295526610966106035820