Note if you really want to do the things you want to do in the right way you have to learn about categories, parents, elements and the coercion model in sage.
see http://www.sagemath.org/doc/reference/sage/categories/primer.html and http://www.sagemath.org/doc/reference/sage/structure/coerce.html This is all to difficult to grasp at once for a beginning sage/python user I guess. But maybe you can understand it using the following sage worksheet made by Simon King who gives a complete example of implementing fraction fields. http://flask.sagenb.org/home/pub/82/ -- To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org
