On Fri, Mar 13, 2009 at 12:55 PM, Nicolas M. Thiery
<nicolas.thi...@u-psud.fr> wrote:
> Thanks!
>
> Now, you don't have by any chance a magic spell, so that whenever such
> a nested class Foo.Bar is created, 'Foo.Bar' gets inserted in its
> module as above? (I guess I can hack around for my application).

This is the purpose of metaclasses.  The best introduction / primer on
metaclasses that I've read is at
http://cleverdevil.org/computing/78/

--Mike

--~--~---------~--~----~------------~-------~--~----~
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