On Tue, Jul 8, 2008 at 6:21 PM, Sebastian Haase <[EMAIL PROTECTED]> 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
_______________________________________________ Numpy-discussion mailing list Numpy-discussion@scipy.org http://projects.scipy.org/mailman/listinfo/numpy-discussion