> > The _test_category issue is something that shows up with every map (and I > think homset). This is because the parent (i.e., the homset) does not > (usually) have a single Element class, but the _test_category is checking > that the map is a subclass of the element_class that is dynamically created > by the category framework. The standard idiom is just to skip these tests > in the TestSuite() call. >
If the issue is with every map, then a proper cure would be to fix the category framework itself not to test _test_category or possibly by dynamically creating a parent class whose element_class is the class of the map. The standard idiom seems a bandage... For pickling, you probably just need to implement a __reduce__ method for > the map. > Why not the category framework provide a default? This also seems to me a defect of the category framework. Thanks Travis! -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.