On Wed, Feb 09, 2011 at 02:59:56PM -0800, Anne Schilling wrote: > >That being said, this could advocate for keeping CrystalOfTableaux as > >a class (using the classcall trick as we had discussed) in order to > >maintain backward compatibility on pickles (beside the other > >advantages). Anne: I can make a quick patch over yours tomorrow doing > >just that if you want. > > If you like. What are the other advantages?
Single entry point. Isn't it currently a pain that one creates a partition using: sage: p = Partition([3,2,1]) and test if `p` is a partition with: sage: isinstance(p, sage.combinat.partition.Partition_class) ? The same holds here: a single name to remember, a single gadget to export, a single gadget for all usage. > If you are making a patch anyway, could you please also fix the 0.5 > to 1/2 that you did not like and Integer to int. (I remember that I > first tried with int, but it did not work for me, but then I had not > used Dan's trick). Done and pushed! I did a couple improvements here and there (mostly doc). Please review, and if things are ok, either fold or post on trac. Cheers, Nicolas -- Nicolas M. Thiéry "Isil" <nthi...@users.sf.net> http://Nicolas.Thiery.name/ -- 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.