Hi.

These are known problems with the mpmath sources.  These files are
only used in Python 3, so they will not cause any problems. You can
safely ignore them.

I think Fredrick was going to try to rewrite them so that they are not
needed, but I haven't checked if it ever happened.  I guess we'll see
the next time mpmath is released.

Aaron Meurer

On Thu, Nov 24, 2011 at 1:46 PM, Roberto Colistete Jr.
<roberto.colist...@gmail.com> wrote:
>    Hi,
>
>    After installing SymPy 0.7.1 on Maemo 4, Maemo 5 or MeeGo 1.2 Harmattan,
> each run of python-support (when using "apt-get install/ apt-get remove" for
> packages) gives this warning/error message :
>
> -------------------------------------------------------------------------------------------------------------------------------------
> Processing triggers for python-support ...
> Compiling /usr/lib/pymodules/python2.6/sympy/mpmath/libmp/exec_py3.py ...
> SyntaxError: ('invalid syntax',
> ('/usr/lib/pymodules/python2.6/sympy/mpmath/libmp/exec_py3.py', 1, 12,
> 'exec_ = exec\n'))
>
> Compiling /usr/lib/pymodules/python2.6/sympy/mpmath/tests/extratest_gamma.py
> ...
> SyntaxError: ('invalid syntax',
> ('/usr/lib/pymodules/python2.6/sympy/mpmath/tests/extratest_gamma.py', 50,
> 35, '        print("%s ok;" % name, end=\' \')\n'))
>
> Compiling /usr/lib/pymodules/python2.6/sympy/mpmath/tests/torture.py ...
> SyntaxError: ('invalid syntax',
> ('/usr/lib/pymodules/python2.6/sympy/mpmath/tests/torture.py', 80, 27, '
>        print(".", end=\' \')\n'))
> -------------------------------------------------------------------------------------------------------------------------------------
>
> So these 3 Python files of SymPy/MPMath have problem compiling to .pyc.
>
>    The messages are just annoying, without other side effect.
>
>    But for SymPy 0.7.2/0.7.3 it can be fixed.
>
>        Best regards,
>
>        Roberto
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "sympy" group.
> To post to this group, send email to sympy@googlegroups.com.
> To unsubscribe from this group, send email to
> sympy+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/sympy?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To post to this group, send email to sympy@googlegroups.com.
To unsubscribe from this group, send email to 
sympy+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sympy?hl=en.

Reply via email to