sage.{arith,crypto,databases,dynamics,lfunctions,quadratic_forms}: Replace imports from sage.*.all for namespace packages
Closed this issue · 8 comments
mkoeppe commented
Part of meta-ticket #34201
CC: @alexchandler100
Component: refactoring
Author: Alex Chandler, Matthias Koeppe
Issue created by migration from https://trac.sagemath.org/ticket/34955
mkoeppe commented
mkoeppe commented
New commits:
558e927 | sage -fiximports src/sage/{arith,crypto,databases,dynamics,lfunctions,quadratic_forms} |
sagetrac-git commented
Branch pushed to git repo; I updated commit sha1. New commits:
f5fbf0a | git grep -l -E ' (Q as QQ|Z as ZZ)' | xargs sed -i.bak 's/ Q as QQ/ QQ/;s/ Z as ZZ/ ZZ/;' |
35300bd | src/sage/databases/findstat.py: Hide a legitimate .all import from relint |
28760be | sage.{crypto,databases,dynamics,lfunctions,quadratic_forms}: Consolidate imports from the same module |
sagetrac-git commented
mkoeppe commented
Changed author from Alex Chandler to Alex Chandler, Matthias Koeppe
mkoeppe commented
This was successfully tested in https://github.com/sagemath/sagetrac-mirror/actions/runs/4038940743/jobs/6943288142 (before the migration).