[pypy-dev] Current failures

Christian Tismer tismer at stackless.com
Thu Sep 8 22:01:55 CEST 2005


Armin Rigo wrote:
...

> The rounding errors are more tricky.  We could of course just use an "is
> almost equal" comparison, but still we are a bit clueless (though
> Christian is digging).

digged quite deeply. Temporarily used an "almost equal",but then figured
out that we also don't get an exception on log(-1.0).
Then I used the /Op option for precision math, and things worked.

There are still two errors left, which I don't understand.

one is

          mallocs, frees = module.malloc_counters()
          assert mallocs == frees

gives 3 == 1 on windows

in the context of testing test_start_new_thread

The other one is

     def test_environ():
         import py
         gw = py.execnet.PopenGateway()
         chan = gw.remote_exec(py.code.Source(test_src))
         res = chan.receive()
E       assert res
 >       assert False

I'm not sure if execnet is mature enough to blame windows, but I could
have put time there, too, if I had some.

-- 
Christian Tismer             :^)   <mailto:tismer at stackless.com>
tismerysoft GmbH             :     Have a break! Take a ride on Python's
Johannes-Niemeyer-Weg 9A     :    *Starship* http://starship.python.net/
14109 Berlin                 :     PGP key -> http://wwwkeys.pgp.net/
work +49 30 802 86 56  mobile +49 173 24 18 776  fax +49 30 80 90 57 05
PGP 0x57F3BF04       9064 F4E1 D754 C2FF 1619  305B C09C 5A3B 57F3 BF04
      whom do you want to sponsor today?   http://www.stackless.com/



More information about the Pypy-dev mailing list