python: Avoid treating float as int
Since python 3.10 implicit conversion to integers using __int__
as
been completely removed (was deprecated behavior in 3.9) so we need
to cleanly handle it now.
Since python 3.10 implicit conversion to integers using __int__
as
been completely removed (was deprecated behavior in 3.9) so we need
to cleanly handle it now.