-
-
Notifications
You must be signed in to change notification settings - Fork 641
Closed
Description
On a coerced binary operator
@coerce_binop
__op__(x,y,**kwds)
}}
if y has to be coerced but x does not change its parent, the keyword arguments are not correctly passed.
A real example
{{{
sage: R1=QQ['x,y']
sage: R2=QQ['x,y,z']
sage: f=R1(1)
sage: h=R2(1)
sage: h.gcd(f,algorithm='modular')
TypeError Traceback (most recent call last)
...
TypeError: algorithm algorithm not supported
}}}
Component: coercion
Keywords: coerce_binop, keyword
Author: Luis Felipe Tabera Alonso
Branch/Commit: u/lftabera/ticket/14186 @ 0cb642b
Reviewer: Robert Bradshaw, Travis Scrimshaw
Issue created by migration from https://trac.sagemath.org/ticket/14186