Changes between Version 51 and Version 81 of Ticket #11935
- Timestamp:
- 05/13/13 15:15:16 (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #11935
-
Property
Dependencies
changed from
#9138, #11900, #11943, #12875, #12876, #12877
to#9138, #11900, #11943, #12875, #12877
- Property Owner changed from nthiery to (none)
-
Property
Dependencies
changed from
-
Ticket #11935 – Description
v51 v81 3 3 This is implemented in this patch by introducing an abstract class 4 4 CategoryWithParameters which uses pickling by "weak construction" for 5 its element and parent classes. In the process, this patch also: 5 its element and parent classes. Now: 6 7 - For a join category, the parent/element class depend only on the 8 parent/element class of its super categories. 9 - For a Category_over_base (e.g. Modules, Algebras, Schemes, ...), the 10 parent/element class depend only on the category of the base. 11 - For a bimodule, the parent/element class depend only on the category 12 of the left and right bases. 13 14 In the process, this patch also: 6 15 7 16 - Adds a method Category._make_named_class providing a unified way to 8 17 create parent and element classes (and later on morphism classes) 9 18 - Extends the interface of dynamic_class to customize caching and pickling 10 19 - Rename the experimental class IdempotentSemigroups.ElementMethods 20 and remove its super class, and discards unused code there. 11 21 12 22 13 23 __Apply__ 14 24 15 * [attachment:trac11935_weak_pickling_by_construction _rel11943-nt.patch]25 * [attachment:trac11935_weak_pickling_by_construction-nt.patch]