From 5a8d76e2a504501dbbea1dd2e1feb34c413e1e7d Mon Sep 17 00:00:00 2001 From: Matthias Koeppe Date: Mon, 6 Dec 2021 21:45:17 -0800 Subject: [PATCH] Remove imports from sage.misc.all --- src/sage/combinat/binary_tree.py | 1 - src/sage/combinat/root_system/pieri_factors.py | 5 +++-- src/sage/lfunctions/dokchitser.py | 6 ++++-- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/src/sage/combinat/binary_tree.py b/src/sage/combinat/binary_tree.py index 01a1b0bdc13..5c89e138742 100644 --- a/src/sage/combinat/binary_tree.py +++ b/src/sage/combinat/binary_tree.py @@ -1916,7 +1916,6 @@ def canopee(self): Here is a less trivial implementation of this:: sage: from sage.sets.finite_set_map_cy import fibers - sage: from sage.misc.all import attrcall sage: def baxter(n): ....: f = fibers(lambda t: tuple(t.canopee()), ....: BinaryTrees(n)) diff --git a/src/sage/combinat/root_system/pieri_factors.py b/src/sage/combinat/root_system/pieri_factors.py index e9befac2eb3..c2e098af316 100644 --- a/src/sage/combinat/root_system/pieri_factors.py +++ b/src/sage/combinat/root_system/pieri_factors.py @@ -12,14 +12,15 @@ from sage.misc.cachefunc import cached_method from sage.misc.constant_function import ConstantFunction -from sage.misc.all import prod, attrcall +from sage.misc.call import attrcall +from sage.misc.misc_c import prod from sage.categories.finite_enumerated_sets import FiniteEnumeratedSets from sage.structure.parent import Parent from sage.structure.unique_representation import UniqueRepresentation from sage.rings.integer import Integer from sage.rings.rational_field import QQ from sage.rings.infinity import infinity -from sage.arith.all import binomial +from sage.arith.misc import binomial import sage.combinat.ranker from sage.sets.recursively_enumerated_set import RecursivelyEnumeratedSet from sage.combinat.root_system.root_system import RootSystem diff --git a/src/sage/lfunctions/dokchitser.py b/src/sage/lfunctions/dokchitser.py index d7dadb7343e..8d0b85e22c8 100644 --- a/src/sage/lfunctions/dokchitser.py +++ b/src/sage/lfunctions/dokchitser.py @@ -32,8 +32,10 @@ import string from sage.structure.sage_object import SageObject -from sage.rings.all import ComplexField, Integer -from sage.misc.all import sage_eval, SAGE_TMP +from sage.rings.all import ComplexField +from sage.rings.integer import Integer +from sage.misc.sage_eval import sage_eval +from sage.misc.misc import SAGE_TMP from sage.misc.verbose import verbose import sage.interfaces.gp from sage.env import SAGE_EXTCODE