<div id="comment:0"></div> We also remove some module-level imports of `AA` etc. Split out from #32432. CC: @kliem @jplab @yuan-zhou @sheerluck Component: **refactoring** Author: **Matthias Koeppe** Branch/Commit: **[`da3d534`](https://github.com/sagemath/sagetrac-mirror/commit/da3d534332540f3b55cfd70729593b35629e3645)** Reviewer: **Jonathan Kliem** _Issue created by migration from https://trac.sagemath.org/ticket/34195_