[Numpy-discussion] Schedule for 1.1.1

Charles R Harris charlesr.harris@gmail....
Mon Jul 14 00:50:56 CDT 2008


On Tue, Jul 8, 2008 at 6:21 PM, Sebastian Haase <haase@msg.ucsf.edu> wrote:

> 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 don't believe we have made any changes to '/'. It is going to be tricky
making the transition to 3.0, a lot of code is going to break, and we
haven't started down that path. Maybe next summer...

Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/numpy-discussion/attachments/20080713/4d9606a9/attachment-0001.html 


More information about the Numpy-discussion mailing list