Skip to content

Commit 0b0c2f6

Browse files
committed
Remove all__sagemath_categories
1 parent dc99dc8 commit 0b0c2f6

File tree

5 files changed

+2
-14
lines changed

5 files changed

+2
-14
lines changed

pkgs/sagemath-categories/MANIFEST.in.m4

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ global-exclude *.c
4242
global-exclude *.cpp
4343

4444
global-exclude all__sagemath_*.*
45-
global-include all__sagemath_categories.py
4645

4746
global-exclude __pycache__
4847
global-exclude *.py[co]

src/sage/all__sagemath_categories.py

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

src/sage/meson.build

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,6 @@ py.install_sources(
8989
'__init__.py',
9090
'all.py',
9191
'all__sagemath_bliss.py',
92-
'all__sagemath_categories.py',
9392
'all__sagemath_coxeter3.py',
9493
'all__sagemath_environment.py',
9594
'all__sagemath_mcqd.py',

src/sage/misc/fpickle.pyx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -106,10 +106,7 @@ def unpickle_function(pickled):
106106

107107

108108
def call_pickled_function(fpargs):
109-
try:
110-
import sage.all as toplevel
111-
except ImportError:
112-
import sage.all__sagemath_categories as toplevel
109+
import sage.all as toplevel
113110
(fp, (args, kwds)) = fpargs
114111
f = eval("unpickle_function(fp)", toplevel.__dict__, {'fp': fp})
115112
res = eval("f(*args, **kwds)", toplevel.__dict__,

src/sage/misc/package_dir.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -246,8 +246,7 @@ def is_package_or_sage_namespace_package_dir(path, *, distribution_filter=None):
246246
247247
Implicit namespace packages (PEP 420) are only recognized if they
248248
follow the conventions of the Sage library, i.e., the directory contains
249-
a file ``all.py`` or a file matching the pattern ``all__*.py``
250-
such as ``all__sagemath_categories.py``.
249+
a file ``all.py`` or a file matching the pattern ``all__*.py``.
251250
252251
INPUT:
253252

0 commit comments

Comments
 (0)