diff options
author | Sebastian Berg <sebastian@sipsolutions.net> | 2013-11-11 15:42:19 +0100 |
---|---|---|
committer | Sebastian Berg <sebastian@sipsolutions.net> | 2013-11-11 18:13:42 +0100 |
commit | b326be11ddaf7af27d40c205552b6fb56656adaa (patch) | |
tree | 7b231e82a420bb516014fb6dd27374327c173966 /numpy/polynomial/polyutils.py | |
parent | 6132b9832d06a81457ff931c42ac09408f7b0398 (diff) | |
download | numpy-b326be11ddaf7af27d40c205552b6fb56656adaa.tar.gz |
DEP: non-integer scalar python sequence repeat
This starts deprecation for code such as
np.float_(3.4) * [1, 2]
which should only work for integer objects. It may be possible
to just return NotImplemented since at least python sequences
implement their multiply themself through __index__.
Further action is only needed for PyArray_PyIntAsIntp, so this
is part of a larger deprecation now.
Closes gh-4036
Diffstat (limited to 'numpy/polynomial/polyutils.py')
0 files changed, 0 insertions, 0 deletions