When you say that it works, do you mean that you ran all the tests and they
passed?

import sympy
sympy.test()

Aaron Meurer


On Thu, Apr 10, 2014 at 3:18 AM, Groover <[email protected]> wrote:

> OK, it's confirmed, the only issue on the SymPy side is supporting
> unicode_escape_decode when it has no parameters.
>
> Thanks, Andy
>
>
> On Thursday, April 10, 2014 8:41:57 AM UTC+1, Groover wrote:
>>
>> The fix is trivial.
>>
>> Firstly there is an import bug in IronPython that I guess they are going
>> to fix - I will double check.
>>
>> The only other issue is the unicode_escape_decode not having parameters.
>> This is something to do with the fact that IronPython is already fully
>> unicode. So all that needs to happen is something like this in
>> core/compatibility.py:
>>
>>     def u(x):
>>         return codecs.unicode_escape_decode(x)[0]
>>
>> becomes:
>>
>>     def u(x):
>>         try:
>>             return codecs.unicode_escape_decode(x)[0]
>>           except:
>>               return x
>>
>> Thanks, Andy
>>
>>
>> On Thursday, April 10, 2014 5:03:51 AM UTC+1, Matthew wrote:
>>>
>>> Yeah, that's pretty fantastic.  I'm curious to know how much work was
>>> involved.  Is it possible to push your changes back to our codebase?  We'd
>>> be happy to enable this.
>>>
>>>
>>> On Wed, Apr 9, 2014 at 3:38 PM, Ondřej Čertík <[email protected]>wrote:
>>>
>>>> On Wed, Apr 9, 2014 at 3:43 AM, Groover <[email protected]> wrote:
>>>> > I now have sympy git-master working with IronPython 2.7.5b1 and this
>>>> problem
>>>> > no longer occurs. I get the same result as Matthew.
>>>>
>>>> Nice!
>>>>
>>>> Ondrej
>>>>
>>>> --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "sympy" 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/sympy.
>>>> To view this discussion on the web visit https://groups.google.com/d/
>>>> msgid/sympy/CADDwiVBCckDrpjir%3DHMNr%2Boe9wd3MW%3DPqkLXL%
>>>> 3DVDx8G8VVo8Hg%40mail.gmail.com.
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>
>>>  --
> You received this message because you are subscribed to the Google Groups
> "sympy" 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/sympy.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sympy/ebf20aa9-4e43-4cc6-8162-3a8451a503d8%40googlegroups.com<https://groups.google.com/d/msgid/sympy/ebf20aa9-4e43-4cc6-8162-3a8451a503d8%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" 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/sympy.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/CAKgW%3D6Lonw_iDL1C-G5VyY9EF_rZxvRCoK0j7pMPcOmTL68p0Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to