Skip to content

Commit 5069f3f

Browse files
author
Release Manager
committed
gh-39277: Fix import duplication in `sage.rings.all` The import of the `all_sagemath_categories` module triggered exactly the same imports that were already in the `rings.all` file. We thus delete this obsolete file. More cleanup of this sort will be done in a follow-up. <!-- ^ Please provide a concise and informative title. --> <!-- ^ Don't put issue numbers in the title, do this in the PR description below. --> <!-- ^ For example, instead of "Fixes #12345" use "Introduce new method to calculate 1 + 2". --> <!-- v Describe your changes below in detail. --> <!-- v Why is this change required? What problem does it solve? --> <!-- v If this PR resolves an open issue, please link to it here. For example, "Fixes #12345". --> ### 📝 Checklist <!-- Put an `x` in all the boxes that apply. --> - [ ] The title is concise and informative. - [ ] The description explains in detail what this PR is about. - [ ] I have linked a relevant issue or discussion. - [ ] I have created tests covering the changes. - [ ] I have updated the documentation and checked the documentation preview. ### ⌛ Dependencies <!-- List all open PRs that this PR logically depends on. For example, --> <!-- - #12345: short description why this is a dependency --> <!-- - #34567: ... --> URL: #39277 Reported by: Tobias Diez Reviewer(s): Dima Pasechnik
2 parents 3756cd4 + 5d22e89 commit 5069f3f

File tree

3 files changed

+0
-10
lines changed

3 files changed

+0
-10
lines changed

src/sage/rings/all.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@
1212
# ****************************************************************************
1313
from sage.misc.lazy_import import lazy_import
1414

15-
from sage.rings.all__sagemath_categories import *
16-
1715
# Ring base classes
1816
from sage.rings.ring import (Ring, Field, CommutativeRing, IntegralDomain,
1917
PrincipalIdealDomain)

src/sage/rings/all__sagemath_categories.py

Lines changed: 0 additions & 7 deletions
This file was deleted.

src/sage/rings/meson.build

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ py.install_sources(
33
'abc.pxd',
44
'algebraic_closure_finite_field.py',
55
'all.py',
6-
'all__sagemath_categories.py',
76
'all__sagemath_objects.py',
87
'big_oh.py',
98
'cc.py',

0 commit comments

Comments
 (0)