Hi,

There was in sage-combinat queue a patch of Mike that add to
Permutation a decorator @combinatorial_class_from_iterator for
burhat_succ and bruhat_pred in order to return a CombinatorialClass
and not a list. In #12518, I replaced it with @set_from_method which
should be the new version of combinatorial_class_from_iterator as it
use the category framework and no more CombinatorialClass.
But then #10998 used bruhat_succ as if it was a list and create an
error when calling. On sage-5.0.x with both patches applied (beware
that #10998 is merged in sage-5.0.beta7):
{{{
sage: SymmetricGroupBruhatOrderPoset(3)
Traceback (most recent call last):
...
TypeError: unhashable type: 'dict'
}}}

I see three possible fixes:
  * remove the wrapper for bruhat_pred and bruhat_succ (I just add
them in order to be complient with Mike's patch)
  * use p.bruhat_succ().list() to send data to Posets (in
sage.combinat.posets.poset_examples.py)
  * make Poset accept FiniteEnumeratedSets in the same way it accepts
lists and tuples

Cheers,
Vincent

-- 
You received this message because you are subscribed to the Google Groups 
"sage-combinat-devel" group.
To post to this group, send email to sage-combinat-devel@googlegroups.com.
To unsubscribe from this group, send email to 
sage-combinat-devel+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sage-combinat-devel?hl=en.

Reply via email to