#5120: [with patch, needs review] An alternative implementation of the Unique
Representation design pattern
-------------------------+--------------------------------------------------
Reporter: nthiery | Owner: nthiery
Type: enhancement | Status: new
Priority: major | Milestone: sage-4.0
Component: misc | Resolution:
Keywords: |
-------------------------+--------------------------------------------------
Comment(by nthiery):
Replying to [comment:10 nthiery]:
> Replying to [comment:9 nthiery]:
> > Thanks for the notice. The patch on sage-combinat has been rebased.
I'll try to upload it today, after folding in two
> > little other improvements.
>
> I just updated the patch, rebased for 3.4.1, with description header,
default implementation of copy/deepcopy, and pickling by reduce rather
than getnewargs.
>
> This later change is debatable. For some reason the reduce way was
preferable for some application to categories, but I badly enough did not
take notes about why
Ah, I know why: keyword arguments. See updated, 100% doctested and
proofread patch.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5120#comment:11>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---