#4653: Merge sage-words code into Sage
---------------------------+------------------------------------------------
Reporter: saliola | Owner: saliola
Type: enhancement | Status: assigned
Priority: blocker | Milestone: sage-3.2.2
Component: combinatorics | Resolution:
Keywords: sage-combinat |
---------------------------+------------------------------------------------
Comment (by mabshoff):
Franco,
all that needs rebasing is the first hunk from permutation.py. This is my
attempt:
{{{
--- a/sage/combinat/permutation.py Sun Dec 14 22:48:15 2008 -0800
+++ b/sage/combinat/permutation.py Mon Dec 15 10:58:10 2008 -0800
@@ -213,7 +213,8 @@
raise ValueError, "cannot convert l (= %s) to a
Permutation"%l
# otherwise, it gets processed by CombinatorialObject's __init__.
- return Permutation_class(l)
+ # Unfortunately, it requires objects to be lists.
+ return Permutation_class(list(l))
class Permutation_class(CombinatorialObject):
def __hash__(self):
}}}
After some discussion with Mike in IRC we decided to postpone the words
vs. Words issue to later.
Cheers,
Michael
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4653#comment:12>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---