Message398928
The fix broke NumPy (see also https://github.com/numpy/numpy/pull/19612)
It seems incorrect. After all, it doesn't matter much whether the float can be converted to an integer correctly (or even if it returns an undefined value), so long `int_value == float_value` remains sensible.
The old cast cast integers to complex when they were out of range (which is fine), the new code raises an error instead. |
|
Date |
User |
Action |
Args |
2021-08-04 18:21:36 | seberg | set | recipients:
+ seberg, tim.peters, twouters, gregory.p.smith, mark.dickinson, lukasz.langa, miss-islington |
2021-08-04 18:21:36 | seberg | set | messageid: <1628101296.33.0.350859925007.issue44698@roundup.psfhosted.org> |
2021-08-04 18:21:36 | seberg | link | issue44698 messages |
2021-08-04 18:21:35 | seberg | create | |
|