diff options
| author | Sebastian Berg <sebastian@sipsolutions.net> | 2022-11-07 23:42:32 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-11-07 14:42:32 -0800 |
| commit | 10908c5fd147572c9ea02cef0c0d5eae6892e4cb (patch) | |
| tree | 861eba0392c5fd08a7f955872702c7f19740bdc3 /doc | |
| parent | 93991066060a2f7384ecc7992e145a56899d81b0 (diff) | |
| download | numpy-10908c5fd147572c9ea02cef0c0d5eae6892e4cb.tar.gz | |
DEP: Expire deprecation to ignore bad dtype= in logical ufuncs (#22541)
* DEP: Expire deprecation to ignore bad dtype= in logical ufuncs
Basically only `bool` and `object dtype make sense, but they did
not work correctly. The dtype argument was rather ignored often.
The offending behavior was deprecated in 1.20 and is now removed.
Co-authored-by: Sebastian Berg <sebastianb@nvidia.com>
Co-authored-by: Charles Harris <charlesr.harris@gmail.com>
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/release/upcoming_changes/22541.expired.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/release/upcoming_changes/22541.expired.rst b/doc/release/upcoming_changes/22541.expired.rst new file mode 100644 index 000000000..a4c0f7b92 --- /dev/null +++ b/doc/release/upcoming_changes/22541.expired.rst @@ -0,0 +1,3 @@ +* The ``dtype=`` argument to comparison ufuncs is now applied + correctly. That means that only ``bool`` and ``object`` are valid + values and ``dtype=object`` is enforced. |
