[sage-devel] Re: Cython cached method: Why can the name be imported in a sage session, but not in sage/doc/common/builder.py?

2011-04-05 Thread Simon King
Hi Nicolas, On 5 Apr., 12:27, "Nicolas M. Thiery" wrote: > > That's odd, since "import sage.structure.dynamic_class" works fine in > > a sage session. > > > Do you have an idea what went wrong? > > Hmm, that sounds like an import loop somewhere between dynamic_class > and cached_method. You are

[sage-devel] Re: Cython cached method: Why can the name be imported in a sage session, but not in sage/doc/common/builder.py?

2011-04-04 Thread Simon King
On 4 Apr., 08:26, Simon King wrote: > 1) cdef classes inheriting from Parent or Element can be provided with > cached methods, even if they do not allow attribute assignment. To be precise: They can not be defined in the Cython code, but it will be possible to provide them via cached parent metho