[Numpy-discussion] lots of warnings with python3
Charles R Harris
Wed Aug 28 11:03:06 CDT 2013
On Wed, Aug 28, 2013 at 9:32 AM, Neal Becker <email@example.com> wrote:
> I tried running python2 -3 on some code, and found numpy
> produces a lot of warnings.
> Many like:
> python -3 -c 'import numpy'
> DeprecationWarning: Overriding __eq__ blocks inheritance of __hash__ in 3.x
> But also:
> DeprecationWarning: classic int division
> n /= max(dim_in,1)
Some of these are bogus.
DeprecationWarning: CObject type is not supported in 3.x. Please use
capsule objects instead.
Capsule objects aren't available in 2.6 and we don't use them for any of
the 2.x Python series, only for 3.x.
The `__hash__` being blocked hasn't seemed to be a problem, but we should
probably fix it anyway.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the NumPy-Discussion