summarylogtreecommitdiffstats
path: root/sagemath-python-3.8.patch
diff options
context:
space:
mode:
Diffstat (limited to 'sagemath-python-3.8.patch')
-rw-r--r--sagemath-python-3.8.patch47
1 files changed, 47 insertions, 0 deletions
diff --git a/sagemath-python-3.8.patch b/sagemath-python-3.8.patch
index 1ae3cfb0606e..6664c90b59d7 100644
--- a/sagemath-python-3.8.patch
+++ b/sagemath-python-3.8.patch
@@ -72,6 +72,53 @@ index 6051e513fd..c20c21c8ed 100644
[1, 2, 3]
Note that ``hello!`` actually gets printed twice in
+diff --git a/src/sage/combinat/blob_algebra.py b/src/sage/combinat/blob_algebra.py
+index 8d719b2910..c9c5f7a4c9 100644
+--- a/src/sage/combinat/blob_algebra.py
++++ b/src/sage/combinat/blob_algebra.py
+@@ -327,12 +327,12 @@ class BlobDiagrams(Parent, UniqueRepresentation):
+ sage: BD3 = BlobDiagrams(3)
+ sage: for b in BD3: b
+ ({}, {{-3, 3}, {-2, -1}, {1, 2}})
+- ({{1, 2}}, {{-3, 3}, {-2, -1}})
+ ({{-2, -1}}, {{-3, 3}, {1, 2}})
++ ({{1, 2}}, {{-3, 3}, {-2, -1}})
+ ({{-2, -1}, {1, 2}}, {{-3, 3}})
+ ({{-3, 3}}, {{-2, -1}, {1, 2}})
+- ({{-3, 3}, {1, 2}}, {{-2, -1}})
+ ({{-3, 3}, {-2, -1}}, {{1, 2}})
++ ({{-3, 3}, {1, 2}}, {{-2, -1}})
+ ({{-3, 3}, {-2, -1}, {1, 2}}, {})
+ ({}, {{-3, -2}, {-1, 3}, {1, 2}})
+ ({{1, 2}}, {{-3, -2}, {-1, 3}})
+@@ -400,11 +400,11 @@ class BlobAlgebra(CombinatorialFreeModule):
+ sage: B4 = algebras.Blob(4, q, r, s)
+ sage: B = list(B4.basis())
+ sage: B[2]
+- B({{-4, -3}}, {{-2, -1}, {1, 2}, {3, 4}})
++ B({{1, 2}}, {{-4, -3}, {-2, -1}, {3, 4}})
+ sage: B[4]
+ B({{3, 4}}, {{-4, -3}, {-2, -1}, {1, 2}})
+ sage: B[2] * B[4]
+- q*r*s*B({}, {{-4, -3}, {-2, -1}, {1, 2}, {3, 4}})
++ q*s*B({{1, 2}}, {{-4, -3}, {-2, -1}, {3, 4}})
+
+ REFERENCES:
+
+@@ -585,11 +585,11 @@ class BlobAlgebra(CombinatorialFreeModule):
+ sage: B = B4.basis()
+ sage: BD = B.keys()
+ sage: BD[2]
+- ({{-4, -3}}, {{-2, -1}, {1, 2}, {3, 4}})
++ ({{1, 2}}, {{-4, -3}, {-2, -1}, {3, 4}})
+ sage: BD[4]
+ ({{3, 4}}, {{-4, -3}, {-2, -1}, {1, 2}})
+ sage: B4.product_on_basis(BD[2], BD[4])
+- q*r*s*B({}, {{-4, -3}, {-2, -1}, {1, 2}, {3, 4}})
++ q*s*B({{1, 2}}, {{-4, -3}, {-2, -1}, {3, 4}})
+ sage: all(len((x*y).support()) == 1 for x in B for y in B)
+ True
+ """
diff --git a/src/sage/combinat/colored_permutations.py b/src/sage/combinat/colored_permutations.py
index 2227ee6f29..298becbadc 100644
--- a/src/sage/combinat/colored_permutations.py