diff options
author | Sebastian Berg <sebastian@sipsolutions.net> | 2021-02-16 17:00:08 -0600 |
---|---|---|
committer | Sebastian Berg <sebastian@sipsolutions.net> | 2021-05-12 16:05:03 -0700 |
commit | 1a828f525d2737bfe93e91034603bb2f4f3414db (patch) | |
tree | eeba156a31f5afedde5ed2a7371b22d953c8f5cb /numpy/lib/arrayterator.py | |
parent | 6f5ad737691433b39953663c904e9d330fa38332 (diff) | |
download | numpy-1a828f525d2737bfe93e91034603bb2f4f3414db.tar.gz |
DEP: Ensure the string promotion FutureWarning is raised
Promotion errors are currently ignored and instead we use `object`
as dtype. This means that the FutureWarning is ignored when raised.
It also means that there is no way to opt into "future" behaviour,
although arguably, we may want to force `dtype=object` in any case
if a promotion error occurred (or some signal at least).
Closes gh-18721
Addresses gh-18425 (Does not actually fix it, but chances are we won't)
Diffstat (limited to 'numpy/lib/arrayterator.py')
0 files changed, 0 insertions, 0 deletions