Part of #34201
CC: @tscrim @egourgoulhon
Component: refactoring
Author: Matthias Koeppe
Branch/Commit: e7af9f3
Reviewer: Eric Gourgoulhon
Issue created by migration from https://trac.sagemath.org/ticket/34428