[issue5593] test_math.testFsum failure on release30-maint

2009-04-24 Thread Mark Dickinson
Mark Dickinson added the comment: Test fixed for 2.7, 3.1 in r71837, r71839 -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___

[issue5593] test_math.testFsum failure on release30-maint

2009-03-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: I think it would be sufficient to invoke the addition through a helper function, that is: def add(x, y): return x + y if add(1e16, 2.0) != add(1e16, 2.): return Also, instead of "return", you might use the new "raise unittest.SkipTest('some messag

[issue5593] test_math.testFsum failure on release30-maint

2009-03-29 Thread Mark Dickinson
Mark Dickinson added the comment: Thanks, Antoine! Yes, I can now reproduce the testFsum failure on my MacBook Pro (OS X 10.5.6/x86_64, with Apple's gcc 4.0.1) using the following sequence of commands: (I tested this for the trunk, but I py3k should be just the same). make distclean CC="gc

[issue5593] test_math.testFsum failure on release30-maint

2009-03-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: > > Wouldn't it be a problem with stale pyc files then? > > Hah! Yes! That seems entirely likely. > > So what sequence of moves does one have to go through > to reproduce this? I suppose: first run "-m test.regrtest -v test_math" in 64-bit mode, then rebuil

[issue5593] test_math.testFsum failure on release30-maint

2009-03-29 Thread Mark Dickinson
Mark Dickinson added the comment: > Wouldn't it be a problem with stale pyc files then? Hah! Yes! That seems entirely likely. So what sequence of moves does one have to go through to reproduce this? -- ___ Python tracker

[issue5593] test_math.testFsum failure on release30-maint

2009-03-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: > My best guess is that you somehow ended up in a situation where the math > module was using the x87 FPU for floating-point, while the interpreter > core was using SSE2. Is this possible? > That would be the reverse, since this occurred on a 32-bit build,

[issue5593] test_math.testFsum failure on release30-maint

2009-03-29 Thread Mark Dickinson
Mark Dickinson added the comment: > My best guess is that you somehow ended up in a situation where the math > module was using the x87 FPU for floating-point, while the interpreter > core was using SSE2. Is this possible? I should also have said that this would fit with the 32-bit/64-bit st

[issue5593] test_math.testFsum failure on release30-maint

2009-03-29 Thread Mark Dickinson
Mark Dickinson added the comment: Found the other report of this: see issue 3421. -- ___ Python tracker ___ ___ Python-bugs-list mail

[issue5593] test_math.testFsum failure on release30-maint

2009-03-29 Thread Mark Dickinson
Mark Dickinson added the comment: > Sorry for the noise. Not noise. I'd still be interested in understanding where this is coming from; I seem to recall someone else having exactly the same experience (reported bug, then found that it disappeared after a clean compile). My best guess is th

[issue5593] test_math.testFsum failure on release30-maint

2009-03-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: Yikes. I can't reproduce it anymore. Perhaps "make distclean" is really necessary when switching a working copy from a 64-bit to a 32-bit build... Sorry for the noise. -- resolution: -> invalid status: open -> closed __

[issue5593] test_math.testFsum failure on release30-maint

2009-03-29 Thread Mark Dickinson
Mark Dickinson added the comment: Hmm. I can't reproduce this. Is this a failure that just started happening recently on this particular platform, or is this the first time you ran the math test with this setup? I can't see any recent checkins that could have precipitated this. Could you att

[issue5593] test_math.testFsum failure on release30-maint

2009-03-28 Thread Antoine Pitrou
Antoine Pitrou added the comment: And it actually also happens in py3k (but only in 32-bit mode, too). -- versions: +Python 3.1 ___ Python tracker ___ ___

[issue5593] test_math.testFsum failure on release30-maint

2009-03-28 Thread Antoine Pitrou
Antoine Pitrou added the comment: It only seems to happen on a 32-bit build on a 64-bit system. -- ___ Python tracker ___ ___ Python-b

[issue5593] test_math.testFsum failure on release30-maint

2009-03-28 Thread Antoine Pitrou
New submission from Antoine Pitrou : I started getting this in release30-maint (not in py3k). == FAIL: testFsum (test.test_math.MathTests) -- Traceback (most re