<div id="comment:0"></div> This is to support modularization. Also, in extension of #32566, we switch another method to use `sage.rings.abc` for `isinstance` testing. (cherry-picked from #32432) Depends on #32566 Depends on #32606 Depends on #32612 CC: @kliem @tscrim @roed314 Component: **refactoring** Author: **Matthias Koeppe** Branch/Commit: **[`6d4ee6e`](https://github.com/sagemath/sagetrac-mirror/commit/6d4ee6e7e645fcee216113f8cf86de7e6cc5e833)** Reviewer: **Travis Scrimshaw** _Issue created by migration from https://trac.sagemath.org/ticket/32635_