Re: [sage-devel] coercion model question

2010-04-24 Thread Robert Bradshaw
On Apr 20, 2010, at 5:35 PM, Jason Grout wrote: Hi all, In sage/devel/symbolic/ring.pyx, I find this in the SymbolicRing.__init__: self._populate_coercion_lists_(convert_method_name='_symbolic_') Later on, I find this in SymbolicRing._element_constructor_: elif hasattr(x,

[sage-devel] coercion model question

2010-04-20 Thread Jason Grout
Hi all, In sage/devel/symbolic/ring.pyx, I find this in the SymbolicRing.__init__: self._populate_coercion_lists_(convert_method_name='_symbolic_') Later on, I find this in SymbolicRing._element_constructor_: elif hasattr(x, '_symbolic_'): return x._symbolic_(self)