On Oct 13, 2:09 pm, Robert Bradshaw <rober...@math.washington.edu>
wrote:

> I agree that this notation is nice. One issue with this approach is  
> that the single quote is already used in Python. For example,
>
> sage: u'(x) + y'
>   u'(x) + y'
>
> sage: type(_)
>   <type 'unicode'>
>
> sage: r'''(t)'''
>   '(t)'
>
> How would one distinguish between the uses?

I guess it was too good to be true. :) Clearly if this is a valid
entry into Sage (and Python) as it seems it is, it will be difficult
or impossible to distinguish from DE notation. A double-quoted string
containing the DE definition might be a workaround, but it's too bad
this specific syntax has another perfectly legitimate meaning.

--~--~---------~--~----~------------~-------~--~----~
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
URL: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to