Builtin and extension functions that take integer arguments no longer accept Decimals, Fractions and other objects that can be converted to integers only with a loss (e.g. that have the int() method but do not have the index() method). (Contributed by Serhiy Storchaka in bpo-37999.)
Many of
quamash
self-tests fail with similar traceback (checked withPyQt5
):According to https://docs.python.org/3.10/whatsnew/3.10.html#other-language-changes: