Skip to content

Meta-ticket: deprecate useless or misleading functions in the global namespace #25383

@videlec

Description

@videlec

Globals starting with a-f

Cryptic

Too specific

Shortcut f(x) -> x.f():

  • additive_order
  • base_ring
  • base_field
  • basis
  • canonical_coercion -> coercion_model.canonical_coercion
  • matrices (block_matrix, block_diagonal_matrix, column_matrix, companion_matrix, diagonal_matrix, ...) can be accessed with matrix.block, matrix.block_diagonal, etc
  • decomposition
  • denominator, numerator
  • desolve, desolve_laplace, desolve_mintides, etc -> desolvers.XXX

WTF

  • absolute_import (nothing to do here)
  • abstract_method (nothing to do in the global namespace)
  • addition_names (a useless tuple)
  • alarm (nothing to do here)
  • attrcall (nothing to do here)
  • banner (no reason to have it in the global namespace) Deprecate the import of some development-related names from the global namespace #34259
  • cancel_alarm
  • class_graph
  • db, db_save (what is the Sage database?)
  • degree_lowest_rational_function
  • differences
  • eratosthenes

Functions mainly useful for developers

Globals starting with g-z

See also

CC: @sagetrac-tmonteil @tscrim @DavidAyotte

Component: misc

Author: Vincent Delecroix

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions