Message 98185 - Python tracker

Message98185

Author mark.dickinson
Recipients cjw296, eric.smith, mark.dickinson
Date 2010-01-23.12:33:03
SpamBayes Score 2.7639946e-11
Marked as misclassified No
Message-id <1264249985.82.0.819898924859.issue7743@psf.upfronthosting.co.za>
In-reply-to
Content
> 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_DIGLIM value, though.

> I presume you meant *with* bigcomp enabled?
I did.  Thanks!

> Forgive my lack of knowledge, but why would you disable bigcomp?

Just as a stress test, really:  a failure that occurs with bigcomp disabled might indicate a problem that could also occur with bigcomp enabled.  Or someone might want to alter the value of the STRTOD_DIGLIM threshold at some later point based on performance tests;  if the code is correct then it ought to be safe to do so.
History
Date User Action Args
2010-01-23 12:33:05mark.dickinsonsetrecipients: + mark.dickinson, eric.smith, cjw296
2010-01-23 12:33:05mark.dickinsonsetmessageid: <1264249985.82.0.819898924859.issue7743@psf.upfronthosting.co.za>
2010-01-23 12:33:04mark.dickinsonlinkissue7743 messages
2010-01-23 12:33:03mark.dickinsoncreate