Similar check for int subclasses without nb_int was removed in 31a655411a from PyNumber_Long(). // transformed to a separate issue per @serhiy-storchaka suggestion in https://github.com/python/cpython/pull/112145 <!-- gh-linked-prs --> ### Linked PRs * gh-112637 <!-- /gh-linked-prs -->