Hi Martin,

On 2015-06-15, 'Martin R' via sage-devel <[email protected]> wrote:
>> If I understand correctly, Map.__init__ fails, even though Map of course 
>> has the cdef attribute _codomain and thus Map.__init__ should of course 
>> be able to write to the attribute. 
>>
>
> I am probably clueless, but I thought that David's explanation was 
> plausible: the attribute _codomain of Map is declared to be of type Parent 
> (in map.pxd), so if C is not of type Parent, we are calling for trouble.

Aha, right, that would result in a TypeError.

Best regards,
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 [email protected].
To post to this group, send email to [email protected].
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