# HG changeset patch
# User David Loeffler
# Date 1312028016 -3600
# Node ID 1d30a9332c2e6500314ed8b4b3533f49ad8795c1
# Parent 1fd3c53fe6df838971bb539e80063d5560f70d79
#11422: fix an unpickling failure
diff -r 1fd3c53fe6df -r 1d30a9332c2e sage/modular/arithgroup/arithgroup_perm.py
--- a/sage/modular/arithgroup/arithgroup_perm.py Thu Jul 14 19:15:17 2011 +0100
+++ b/sage/modular/arithgroup/arithgroup_perm.py Sat Jul 30 13:13:36 2011 +0100
@@ -287,9 +287,13 @@
for p in l:
p.extend(xrange(len(p),n))
+# Tedious point: in order to unpickle pickled objects from prior to patch
+# #11422, this function needs to accept two non-keyword arguments, to be
+# interpreted as L and R. Hence the order of the arguments is slightly
+# different from the class __init__ methods.
def ArithmeticSubgroup_Permutation(
- S2=None, S3=None, L=None, R=None,
+ L=None, R=None, S2=None, S3=None,
relabel=False,
check=True):
r"""