On Sep 27, 5:41 am, Christian Stump <christian.st...@gmail.com> wrote: > Salut, > > as you are just talking about the CombinatorialFreeModule: my problem > is that the CFM imports everything from rings, as you can create a CFM > over any ring. Now, I use the CFM to implement the universal > cyclotomic field, which I import in rings, as it is one. Thus, I get > problems with an import loop. > > Any suggestions?
I think that many of the import statements in free_module.py should be inside the methods that use them, rather than at the top level. Here's a patch which moves some of them: <http://sage.math.washington.edu/home/palmieri/misc/cfm.patch> I think this should make it work. I tested this by adding a line from sage.categories.examples.algebras_with_basis import Example to sage.rings.all, and Sage started without problems. (I may also have had to fix some imports in examples/algebras_with_basis.py.) -- John -- You received this message because you are subscribed to the Google Groups "sage-combinat-devel" group. To post to this group, send email to sage-combinat-de...@googlegroups.com. To unsubscribe from this group, send email to sage-combinat-devel+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sage-combinat-devel?hl=en.