Martin Albrecht ha escrito:
> Hi Miguel,
>
> can you be convinced to work on it some more?
Sure
I will take a look at it, considering your comments. The reason why i
didn't use most of what you suggested is because i didn't know about
it (i am new to sage). I will take a look at it and try to write a
revised version in the next days.
> 1) Local orderings are fully supported in Sage. Take a look at
>
> sage/rings/polynomial/term_order
>
> where you'll also find a dictionary with mappings from Singular term order
> names to Sage term order names (and vice versa).
>
> 4) Injecting a variable into the global namespace in a function ('defining a')
> is bad practice, IMHO. It should be avoided. It is better to create a
> variable in the local scope and pass it on to eval.
the reason why i did that is because i couldn't find a way to create a
variable that has the same name as the one used in the singular
polynomial. I agree it is not a desirable thing to create a variable
in the process, but it was the best i could find. How can i implement
what you suggest?
Best
Miguel Marco
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---