From: Stefan v. d. W. <st...@su...> - 2006-07-31 07:51:31
|
Hi Darren On Fri, Jul 28, 2006 at 02:33:17PM -0400, Darren Dale wrote: > I dont know if this is related or not, but I just did an update from th= e trunk=20 > ('1.0b2.dev2918') and discovered the following error: >=20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > FAIL: Ticket #99 > ---------------------------------------------------------------------- > Traceback (most recent call last): > =20 > File "/usr/lib64/python2.4/site-packages/numpy/core/tests/test_regressi= on.py",=20 > line 182, in check_intp > self.failUnlessRaises(OverflowError,N.intp,'0xb72a7008',16) > AssertionError: OverflowError not raised Are you running on a 64 bit machine? I'll fix the test (which was written on a 32 bit machine), but I also noticed some strange behaviour: In [11]: N.intp('0xfffffffffffffff',16) Out[11]: 1152921504606846975 In [12]: N.intp('0xffffffffffffffff',16) -------------------------------------------------------------------------= -- exceptions.TypeError Traceback (most rece= nt call last) /home/stefan/<ipython console> TypeError: function takes exactly 1 argument (2 given) Cheers St=E9fan |