[Python-modules-team] Bug#624105: mpmath: SyntaxError while byte-compiling

Sandro Tosi morph at debian.org
Mon Apr 25 15:22:12 UTC 2011


Package: mpmath
Version: 0.17-1
Severity: normal

There are soem SyntaxError when byte-compiling mpmath source file (f.e. at
package installation time):

Compiling /usr/lib/pymodules/python2.6/mpmath/libmp/exec_py3.py ...
SyntaxError: ('invalid syntax', ('/usr/lib/pymodules/python2.6/mpmath/libmp/exec_py3.py', 1, 12, 'exec_ = exec\n'))

Compiling /usr/lib/pymodules/python2.6/mpmath/tests/extratest_gamma.py ...
SyntaxError: ('invalid syntax', ('/usr/lib/pymodules/python2.6/mpmath/tests/extratest_gamma.py', 50, 35, '        print("%s ok;" % name, end=\' \')\n'))

Compiling /usr/lib/pymodules/python2.6/mpmath/tests/torture.py ...
SyntaxError: ('invalid syntax', ('/usr/lib/pymodules/python2.6/mpmath/tests/torture.py', 80, 27, '            print(".", end=\' \')\n'))

Compiling /usr/lib/pymodules/python2.7/mpmath/libmp/exec_py3.py ...
SyntaxError: ('invalid syntax', ('/usr/lib/pymodules/python2.7/mpmath/libmp/exec_py3.py', 1, 12, 'exec_ = exec\n'))

Compiling /usr/lib/pymodules/python2.7/mpmath/tests/extratest_gamma.py ...
SyntaxError: ('invalid syntax', ('/usr/lib/pymodules/python2.7/mpmath/tests/extratest_gamma.py', 50, 35, '        print("%s ok;" % name, end=\' \')\n'))

Compiling /usr/lib/pymodules/python2.7/mpmath/tests/torture.py ...
SyntaxError: ('invalid syntax', ('/usr/lib/pymodules/python2.7/mpmath/tests/torture.py', 80, 27, '            print(".", end=\' \')\n'))

Regards,
Sandro

-- System Information:
Debian Release: 6.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash





More information about the Python-modules-team mailing list