On Wed, 19 Aug 2009, Simon King wrote:

>
> Hi Robert,
>
> On 19 Aug., 22:43, Robert Bradshaw <rober...@math.washington.edu>
> wrote:
>> Is u.subs(globals()) good enough?
>
> You mean like this:
> sage: u=1+x
> sage: x=1
> sage: u.subs(globals())
> Traceback (most recent call last):
> ...
> TypeError: no canonical coercion from <type 'str'> to Symbolic Ring
> sage: globals()['x']
> 1
>
> This is certainly not good enough. Is this a known bug?

I'm pretty sure that (or something similar) used to work. I don't know if 
it's known, but that's certainly a bug in my mind.

- Robert


--~--~---------~--~----~------------~-------~--~----~
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to