Hi Joao,

On 2014-09-22, Joao Alberto de Faria <fariajoa...@gmail.com> wrote:
> R.<t> = FunctionField(QQ)
> S.<x, y> = PolynomialRing(R,2)
> I = S.ideal([x^2 - y^2, y-t])
> I.groebner_basis()
>
> I receive the following error:
> AttributeError: 'str' object has no attribute 'parent' 

I can confirm it.

> After testing the code again with the 'toy:buchberger2" GB algorithm, I 
> found that it was able to do it. Looking into the code it fails when 
> passing into singular and isn't currently handled by the current error 
> exceptions. To me, it seems that all that needs to be done is to add an 
> AttributeError to the except list in the multi_polynomial_ideal  grobner 
> basis definiton.

No. I rather think the _element_constructor_ method of function fields
should be able to deal with input that is a string.

I will open a trac ticket for it.

Thank you for the report!
Simon

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to