Hi! I am nearly done with a full Cython-version of cached_method. That's to say:
1) cdef classes inheriting from Parent or Element can be provided with cached methods, even if they do not allow attribute assignment. 2) Due to moving cached_method from Python to Cython with cdef'ing some key methods/attributes, it should become faster. 3) Editing the source code is supported. I.e., if G is a multivariate polynomial ideal, then edit(G.groebner_basis,'vim') will open sage/ rings/polynomial/multi_polynomial_ideal.py at line 2717 in vim. Is there a ticket that covers the above? I have opened #11115, but I must confess that I didn't check whether it is a duplicate. Long doctests pass. However, there is a problem. When I tried "sage -docbuild reference html", I got the following error.$ sage -docbuild all html Traceback (most recent call last): File "/mnt/local/king/SAGE/broken/devel/sage/doc/common/builder.py", line 11, in <module> from sage.misc.cachefunc import cached_method File "sage_object.pxd", line 1, in init sage.misc.cachefunc (sage/ misc/cachefunc.c:10482) File "/mnt/local/king/SAGE/broken/local/lib/python2.6/site-packages/ sage/structure/__init__.py", line 1, in <module> import dynamic_class # allows for sage.structure.dynamic_class? File "/mnt/local/king/SAGE/broken/local/lib/python2.6/site-packages/ sage/structure/dynamic_class.py", line 119, in <module> from sage.misc.cachefunc import cached_method, cached_function ImportError: cannot import name cached_method That's odd, since "import sage.structure.dynamic_class" works fine in a sage session. Do you have an idea what went wrong? Best regards, Simon -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org