[Patches] fix test_math.py crash on Win32 (no math.rint())
Fred L. Drake, Jr.
fdrake@acm.org
Thu, 1 Jun 2000 10:12:23 -0400 (EDT)
Moshe Zadka writes:
> +1 on the purpose, -0 on the implementation:
>
> why not have a
>
>
> try:
> math.rint
> except AttributeError:
> pass
> else:
> ....tests with math.rint....
This is the appropriate way to make this test; Trent, can you post
an updated patch? Thanks.
> Since I'm extremely paranoid person, I'm afraid this will mask true
> AttributeError's in math.rint (it can happen in a sufficiently twisted world.)
That would be a *really* twisted world!
-Fred
--
Fred L. Drake, Jr. <fdrake at acm.org>
PythonLabs at BeOpen.com