summaryrefslogtreecommitdiff
path: root/doc/release/upcoming_changes/14718.compatibility.rst
blob: 3d6e71eadfdd26b06dddd865cc6a451046b78847 (plain)
1
2
3
4
5
6
7
8
``np.can_cast(np.uint64, np.timedelta64, casting='safe')`` is now ``False``
---------------------------------------------------------------------------

Previously this was ``True`` - however, this was inconsistent with ``uint64``
not being safely castable to ``int64``, and resulting in strange type
resolution.

If this impacts your code, cast ``uint64`` to ``int64`` first.