Changes between Initial Version and Version 26 of Ticket #6882


Ignore:
Timestamp:
06/27/14 09:18:56 (7 years ago)
Author:
rws
Comment:

At the moment we also get behaviour like

sage: symbolic_expression_from_maxima_string('%inf')
Inf

so I think the ticket should implement multi_word_replace() in sage.misc.multireplace and use that on a symtable with additional entries 'e':'_e', 'i':'_i', 'I':'_I'.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #6882

    • Property Status changed from new to needs_work
    • Property Cc robert.marik added
    • Property Report Upstream changed from to N/A
    • Property Summary changed from bug in conversion of "i" from Maxima to Sage to bugs in conversion of variable names from Maxima to Sage
    • Property Dependencies changed from to #8734, #16007
    • Property Milestone changed from sage-5.11 to sage-6.3
    • Property Owner changed from burcin to rws
  • Ticket #6882 – Description

    initial v26  
    66sage: symbolic_expression_from_maxima_string('i')
    77I
     8sage: symbolic_expression_from_maxima_string('%inf')
     9Inf
    810-----------
    911
    1012So as you see, we are converting both '%i' and 'i' to  imaginary 'I' !!!!
    1113}}}
    12 
    13 See the sage-devel thread about this on Sept 3 for some discussion and motivation.
     14The ticket should implement `multi_word_replace()` in `sage.misc.multireplace` and use that on a symtable with additional entries `'e':'_e', 'i':'_i', 'I':'_I'`.