Commit 434dd80c authored by Thibault Saunier's avatar Thibault Saunier 🌵 Committed by Tim-Philipp Müller
Browse files

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.


Part-of: <!46>
parent 553adc64
Pipeline #450831 waiting for manual action with stages
in 6 minutes and 11 seconds