diff --git a/src/sage/all.py b/src/sage/all.py index 2b5c83a2c37..916e80eef0d 100644 --- a/src/sage/all.py +++ b/src/sage/all.py @@ -104,7 +104,6 @@ from sage.functions.all import * from sage.calculus.all import * -lazy_import('sage.tests', 'all', as_='tests', deprecation=27337) from sage.cpython.all import * from sage.crypto.all import * @@ -190,15 +189,6 @@ copying = license copyright = license -def quit_sage(verbose=True): - """ - Does nothing. Code that needs cleanup should register its own - handler using the atexit module. - """ - from sage.misc.superseded import deprecation - deprecation(8784, 'quit_sage is deprecated and now does nothing; please simply delete it') - - from sage.misc.persist import register_unpickle_override register_unpickle_override('sage.categories.category', 'Sets', Sets) register_unpickle_override('sage.categories.category_types', 'HeckeModules', HeckeModules) @@ -219,11 +209,6 @@ def quit_sage(verbose=True): # sys.settrace(poison_currRing) -# Deprecated leftover of monkey-patching inspect.isfunction() to support Cython functions. -lazy_import('sage.misc.sageinspect', 'is_function_or_cython_function', - as_='isfunction', namespace=sage.__dict__, deprecation=32479) - - # Set a new random number seed as the very last thing # (so that printing initial_seed() and using that seed # in set_random_seed() will result in the same sequence you got at diff --git a/src/sage/arith/all.py b/src/sage/arith/all.py index c7bcd7224f6..f1fc716071c 100644 --- a/src/sage/arith/all.py +++ b/src/sage/arith/all.py @@ -24,8 +24,6 @@ dedekind_sum, prime_factors, prime_range, valuation) -lazy_import("sage.arith.misc", ("Sigma", "Moebius", "Euler_Phi"), deprecation=30322) - from sage.arith.functions import lcm LCM = lcm diff --git a/src/sage/manifolds/all.py b/src/sage/manifolds/all.py index 33ee90bc9d9..e219a98dc32 100644 --- a/src/sage/manifolds/all.py +++ b/src/sage/manifolds/all.py @@ -1,7 +1,5 @@ from sage.misc.lazy_import import lazy_import lazy_import('sage.manifolds.manifold', 'Manifold') -lazy_import('sage.manifolds.differentiable.examples.real_line', ('OpenInterval', 'RealLine'), - deprecation=31881) lazy_import('sage.manifolds.differentiable.examples.euclidean', 'EuclideanSpace') lazy_import('sage.manifolds', 'catalog', 'manifolds') del lazy_import diff --git a/src/sage/misc/all.py b/src/sage/misc/all.py index 585db5a05eb..fa14ec98696 100644 --- a/src/sage/misc/all.py +++ b/src/sage/misc/all.py @@ -12,8 +12,6 @@ SAGE_DB, newton_method_sizes, compose, nest) -lazy_import('sage.misc.misc', 'union', - deprecation=32096) from sage.misc.banner import version diff --git a/src/sage/modular/all.py b/src/sage/modular/all.py index 8f11d8d6d10..0eeb5e273a1 100644 --- a/src/sage/modular/all.py +++ b/src/sage/modular/all.py @@ -20,13 +20,6 @@ from sage.modular.cusps import Cusp, Cusps -lazy_import('sage.modular.dims', ('dimension_cusp_forms', - 'dimension_new_cusp_forms', - 'dimension_eis', - 'dimension_modular_forms', - 'sturm_bound'), - deprecation=(32647, 'removed from main namespace')) - from sage.modular.etaproducts import (EtaGroup, EtaProduct, EtaGroupElement, AllCusps, CuspFamily)