On Mon, May 25, 2009 at 7:06 PM, Nicolas M. Thiery
<nicolas.thi...@u-psud.fr> wrote:
> Adding a couple calls like:
>
>        register_unpickle_override('sage.categories.category', 'Sets', Sets)
>
> did the trick (thanks Carl!).  By the way, where in the Sage source
> tree should I put those?

Well, obviously we don't have a convention for this yet; but my
suggestion would be that if you rename sage.foo.X to sage.bar.Y, then
you put the register_unpickle_override just after the definition of
class Y in sage/bar.py .

Carl

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to