<div id="comment:0"></div> Part of Meta-ticket #34201: Replace imports from sage.*.all for namespace packages Also clean up some other outdated importing practices. CC: @DavidAyotte Component: **refactoring** Author: **Matthias Koeppe** Branch/Commit: **[`f76fe41`](https://github.com/sagemath/sagetrac-mirror/commit/f76fe41aaa0e2a2d812f7f4c2fd68bae7c49b87f)** Reviewer: **David Ayotte** _Issue created by migration from https://trac.sagemath.org/ticket/34191_