[Tutor] crash when importing random or sys module, in my embedded python

R. Alan Monroe R. Alan Monroe" <amonroe@columbus.rr.com
Wed Jun 18 22:25:02 2003


>>Here's the error:
>>'computed value for TWOPI deviates too much (computed 6.28319, expected 
>>6.28319)',

> What platform are you working on?
Windows 2000


> What result do you get if you do:
>  >>> import math
>  >>> math.pi * 2
> You should get something like 6.2831853071795862

Exactly the same as you
>>> math.pi *2
6.2831853071795862

> The code that causes the exception is in random.py
> (as you might guess, and you can obviously look at
> that.)

Yeah I just made a backup then commented out the _verify. It works now
:^)


Alan