Re: [sage-combinat-devel] Re: Is it really needed to make the parent class of a category depend on its base ring?

2011-10-08 Thread Nicolas M. Thiery
On Fri, Oct 07, 2011 at 01:30:49PM -0700, Simon King wrote: I really don't see the problem. On 7 Okt., 22:21, Simon King simon.k...@uni-jena.de wrote: So, why shouldn't parent_class rely on the generic pickling of a dynamic class? Well, I guess I should simply try and look how it blows

[sage-combinat-devel] Re: Is it really needed to make the parent class of a category depend on its base ring?

2011-10-08 Thread Simon King
Hi Nicolas, Sorry, I have seen your post only now. On 7 Okt., 23:06, Nicolas M. Thiery nicolas.thi...@u-psud.fr wrote: It would not be quite surprising if the pickling of classes made some progress since 2009 :-) However, just to make sure: please save the pickle to a file, and reload it in a

[sage-combinat-devel] Re: Is it really needed to make the parent class of a category depend on its base ring?

2011-10-08 Thread Simon King
Hi Nicolas, On 8 Okt., 17:40, Simon King simon.k...@uni-jena.de wrote: I know a trick that combines the old way of pickling with the desired independence from the base ring: 1. The lazy attribute C.parent_class could start with constructing a dynamic class without specifying the reduction