Marc Mezzarobba wrote:
> Jeroen Demeyer wrote:
>> Don't forget the option
>>
>> (c) return NotImplemented
>>
>> I would say:
>>
>> Case (i): (b)
>> Case (ii): (c)
> 
> Yes, I kept that out because my current patches don't change that part
> of the logic, but I think I agree.

What about making a finer distinction, like

- (b), i.e. fail, when y is a SageObject or can be converted using
  py_scalar_to_element(),

- (c), i.e. return NotImplemented, otherwise?

-- 
Marc

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to