import Random: NV_MAGICCONST deviates too much.

marijn Vriens marijn at sanity.dhs.org
Fri Mar 1 02:30:57 EST 2002


Hi all...

I have get a strange exception when importing random. 
I brought it down to:

Python 2.1.2 (#1, Jan 18 2002, 18:05:45) 
[GCC 2.95.4  (Debian prerelease)] on linux2
Type "copyright", "credits" or "license" for more information.
>>> import gnome.ui
>>> import random
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "/usr/lib/python2.1/random.py", line 93, in ?
    _verify('NV_MAGICCONST', 1.71552776992141)
  File "/usr/lib/python2.1/random.py", line 88, in _verify
    raise ValueError(
ValueError: computed value for NV_MAGICCONST deviates too much
(computed 2,82843, expected 1)
>>> 

If I first import random and then gnome.ui I have no problems. my
distr is debian woody with the standard python packages (not
self-compiled) on an
AMD-K6 

Anybody know what's going on ?

Cheers,
    Marijn.

PS: Thanks to the #python crew for helping me out on this one!



More information about the Python-list mailing list