[Numpy-discussion] Schedule for 1.1.1

Sebastian Haase haase@msg.ucsf....
Tue Jul 8 19:21:26 CDT 2008


Hi,
I haven't checked out a recent numpy (( >>> N.__version__
'1.0.3.1'))
But could someone please check if the division has been changed from
'/' to '//' in these places:

C:\Priithon_25_win\numpy\core\numerictypes.py:142: DeprecationWarning:
classic int division
  bytes = bits / 8
C:\Priithon_25_win\numpy\core\numerictypes.py:182: DeprecationWarning:
classic int division
  na_name = '%s%d' % (base.capitalize(), bit/2)
C:\Priithon_25_win\numpy\core\numerictypes.py:212: DeprecationWarning:
classic int division
  charname = 'i%d' % (bits/8,)
C:\Priithon_25_win\numpy\core\numerictypes.py:213: DeprecationWarning:
classic int division
  ucharname = 'u%d' % (bits/8,)
C:\Priithon_25_win\numpy\core\numerictypes.py:409: DeprecationWarning:
classic int division
  nbytes[obj] = val[2] / 8


I found these by starting python using the -Qwarn option.

Thanks,
Sebastian Haase



On Tue, Jul 8, 2008 at 5:28 PM, Charles R Harris
<charlesr.harris@gmail.com> wrote:
> I think we should try to get a quick bug fix version out by the end of the
> month. What do others think?
>
> Chuck


More information about the Numpy-discussion mailing list