Hey everyone,
On Sunday, October 28, 2012 2:13:07 AM UTC-7, Andrew Mathas wrote:
>
> Hi Nicolas,
>
> Not OK (this could break e.g. Symmetric Functions):
>>
>> sage: Partitions().options(cmp=dominance)
>>
>
> In his patch Travis has an option for changing the default comparison
> method
Hi,
For string representation, I think that it sould be a matter of the
parent via a _repr_element_ method. This method is yet used in some
classes. The issue may be fixed with the modification of
Element.__repr__ as
def __repr__(self):
if self.__custom_name:
return self.__custom_name
> Christian had one way of handling this that I thought was OK, but I thought
> not ideal.
> D.to_permutation("Bandlow-Kilpatrick")
> which is now
> D.to_312_avoiding_permutation()
>
> and
>
> D.to_permutation("Krattenthaler")
> which is now
> D.to_132_avoiding_permutation()
I do still prefer thi
Hi Nicolas,
Not OK (this could break e.g. Symmetric Functions):
>
> sage: Partitions().options(cmp=dominance)
>
In his patch Travis has an option for changing the default comparison
method and I think that this would be useful. Below you also mention that
be able to change the default
On Sat, Oct 27, 2012 at 09:43:37PM -0700, Andrew Mathas wrote:
> To do this within the framework I am thinking of it would probably be
> necessary
> to add an additional _options.defaults attribute to the parent which specifies
> all of the options and their defaults.
+1.
You can grep through th