sagemath/sage

sage.schemes: Replace imports from sage.*.all for namespace packages

Closed this issue · 11 comments

Using ./sage -fiximports from #34945.

Also remove trailing whitespace in the affected files.

Part of Meta-ticket #34201

CC: @alexchandler100 @bhutz @yyyyx4

Component: refactoring

Author: Alex Chandler, Matthias Koeppe

Issue created by migration from https://trac.sagemath.org/ticket/34951

Commit: dca994a

New commits:

dca994asrc/sage/schemes: Manual fixes to imports

Changed commit from dca994a to aefcd52

Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:

aefcd52sage -fiximports src/sage/schemes

Branch pushed to git repo; I updated commit sha1. New commits:

e545deagit grep -l -E ' (Q as QQ|Z as ZZ)' | xargs sed -i.bak 's/ Q as QQ/ QQ/;s/ Z as ZZ/ ZZ/;'
44af9b9sage.schemes: Consolidate imports from the same module

Changed commit from aefcd52 to 44af9b9

Changed commit from 44af9b9 to acf17b6

Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:

d52ad2csage -fiximports src/sage/schemes
4a7bfc1git grep -l -E ' (Q as QQ|Z as ZZ)' | xargs sed -i.bak 's/ Q as QQ/ QQ/;s/ Z as ZZ/ ZZ/;'
acf17b6sage.schemes: Consolidate imports from the same module

Changed author from Alex Chandler to Alex Chandler, Matthias Koeppe

The attached branch is replaced by PR #35033.