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.

classification
Title: test_math should run test_exceptions
Type: Stage:
Components: None Versions:
process
Status: closed Resolution: rejected
Dependencies: Superseder:
Assigned To: mwh Nosy List: mwh, tim.peters
Priority: normal Keywords:

Created on 2002-03-11 10:40 by mwh, last changed 2022-04-10 16:05 by admin. This issue is now closed.

Messages (3)
msg9630 - (view) Author: Michael Hudson (mwh) (Python committer) Date: 2002-03-11 10:40
Currently test_math runs test of overflow/underflow
behaviour only in verbose mode because it was such a
crapshoot as to whether it worked or not.

As it is hoped that the odds have been improved, it
should probably run it unconditionally (at least until
it turns out that in fact it still doesn't work
everywhere).

It should perhaps be expanded to include tests of **
behaviour (unless that's tested somewhere else).
msg9631 - (view) Author: Tim Peters (tim.peters) * (Python committer) Date: 2002-03-12 20:19
Logged In: YES 
user_id=31435

Back to you!  Python still doesn't promise anything here, 
and I've got no interest in wading thru reports from 100 
Platforms from Mars.  That's why these tests aren't run by 
default.  You can enable them if you like (and I agree it 
would be interesting), but unless someone in Python 
development is dead serious about supporting this stuff 
(I'm not and can't be), the platform-specific failures that 
pop up will just irritate all involved.

Ensuring that 1e-200**2 doesn't overflow would be a fine 
addition to the std runs-all-the-time test -- except you 
can't know whether 1e-200 is in range for the platform's 
notion of C double, or whether 1e-200**2 is out of range 
(although both are very likely today).
msg9632 - (view) Author: Michael Hudson (mwh) (Python committer) Date: 2002-03-13 11:26
Logged In: YES 
user_id=6656

Hmm.  I think I'll leave this as is.

If I end up doing the 2.2.1c1 release, I'll make sure I ask
people to run test_math in verbose mode.  If someone else
ends up doing the release, I'll bug them to ask the same
question.
History
Date User Action Args
2022-04-10 16:05:05adminsetgithub: 36239
2002-03-11 10:40:02mwhcreate