[Numpy-discussion] Effect of deprecating non-integers for integer function arguments

Sebastian Berg sebastian at sipsolutions.net
Fri May 31 14:08:13 EDT 2013


the current numpy master has deprecated non-integers for the use of
indexing (not-fancy yet). However I think this should be moved further
down in the numpy machinery which means that the conversion utils
provided by numpy would generally raise warnings for non-integers.

This means that for most numpy functions such as reshape, etc. the use
of non-integers for arguments that are naturally integers is deprecated,
which may also affect third party code in principle.

Testing this against current SciPy appearently causes 56 failures (with
deprecation warnings being raised). Are other project similarly affect
by this change?

The branch implementing this can be found in the PR



More information about the NumPy-Discussion mailing list