[Cython] Cython 0.15.1 release candidate

Arfrever Frehtes Taifersar Arahesis arfrever.fta at gmail.com
Fri Sep 16 05:24:22 CEST 2011


1 error ("compiling (cpp) and running tupleunpack_T712") and 0 failures with Python 3.1.
1 error ("compiling (cpp) and running tupleunpack_T712") and 4 failures with Python 3.2.

The end of output of tests with Python 3.2:

======================================================================
ERROR: runTest (__main__.CythonRunTestCase)
compiling (cpp) and running tupleunpack_T712
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib64/python3.2/distutils/unixccompiler.py", line 181, in _compile
    extra_postargs)
  File "/usr/lib64/python3.2/distutils/ccompiler.py", line 909, in spawn
    spawn(cmd, dry_run=self.dry_run)
  File "/usr/lib64/python3.2/distutils/spawn.py", line 32, in spawn
    _spawn_posix(cmd, search_path, dry_run=dry_run)
  File "/usr/lib64/python3.2/distutils/spawn.py", line 163, in _spawn_posix
    % (cmd[0], exit_status))
distutils.errors.DistutilsExecError: command 'x86_64-pc-linux-gnu-g++' failed with exit status 1

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "runtests.py", line 678, in run
    self.runCompileTest()
  File "runtests.py", line 490, in runCompileTest
    self.test_directory, self.expect_errors, self.annotate)
  File "runtests.py", line 665, in compile
    self.run_distutils(test_directory, module, workdir, incdir)
  File "runtests.py", line 625, in run_distutils
    build_extension.run()
  File "/usr/lib64/python3.2/distutils/command/build_ext.py", line 345, in run
    self.build_extensions()
  File "/usr/lib64/python3.2/distutils/command/build_ext.py", line 454, in build_extensions
    self.build_extension(ext)
  File "runtests.py", line 257, in build_extension
    _build_ext.build_extension(self, ext)
  File "/usr/lib64/python3.2/distutils/command/build_ext.py", line 509, in build_extension
    depends=ext.depends)
  File "/usr/lib64/python3.2/distutils/ccompiler.py", line 574, in compile
    self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
  File "/usr/lib64/python3.2/distutils/unixccompiler.py", line 186, in _compile
    raise CompileError(msg)
distutils.errors.CompileError: command 'x86_64-pc-linux-gnu-g++' failed with exit status 1

======================================================================
FAIL: NestedWith (withstat)
Doctest: withstat.NestedWith
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib64/python3.2/doctest.py", line 2118, in runTest
    raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for withstat.NestedWith
  File "/var/tmp/portage/dev-python/cython-0.15.1_rc0/work/Cython-0.15.1/tests-3.2/run/c/withstat.cpython-32.so", line unknown line number, in NestedWith

----------------------------------------------------------------------
File "/var/tmp/portage/dev-python/cython-0.15.1_rc0/work/Cython-0.15.1/tests-3.2/run/c/withstat.cpython-32.so", line ?, in withstat.NestedWith
Failed example:
    NestedWith().runTest()
Exception raised:
    Traceback (most recent call last):
      File "/usr/lib64/python3.2/doctest.py", line 1253, in __run
        compileflags, 1), test.globs)
      File "<doctest withstat.NestedWith[0]>", line 1, in <module>
        NestedWith().runTest()
      File "withstat.pyx", line 183, in withstat.NestedWith.runTest (withstat.c:5076)
      File "withstat.pyx", line 222, in withstat.NestedWith.testEnterReturnsTuple (withstat.c:7533)
      File "withstat.pyx", line 223, in withstat.NestedWith.testEnterReturnsTuple (withstat.c:7421)
      File "withstat.pyx", line 224, in withstat.NestedWith.testEnterReturnsTuple (withstat.c:7270)
      File "/usr/lib64/python3.2/unittest/case.py", line 1169, in deprecated_func
        DeprecationWarning, 2)
      File "/usr/lib64/python3.2/warnings.py", line 18, in showwarning
        file.write(formatwarning(message, category, filename, lineno, line))
      File "/usr/lib64/python3.2/warnings.py", line 25, in formatwarning
        line = linecache.getline(filename, lineno) if line is None else line
      File "/usr/lib64/python3.2/linecache.py", line 15, in getline
        lines = getlines(filename, module_globals)
      File "/usr/lib64/python3.2/doctest.py", line 1337, in __patched_linecache_getlines
        return self.save_linecache_getlines(filename, module_globals)
      File "/usr/lib64/python3.2/linecache.py", line 41, in getlines
        return updatecache(filename, module_globals)
      File "/usr/lib64/python3.2/linecache.py", line 127, in updatecache
        lines = fp.readlines()
      File "/usr/lib64/python3.2/codecs.py", line 300, in decode
        (result, consumed) = self._buffer_decode(data, self.errors, final)
    UnicodeDecodeError: 'utf8' codec can't decode byte 0xd0 in position 24: invalid continuation byte


======================================================================
FAIL: NestedWith (withstat)
Doctest: withstat.NestedWith
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib64/python3.2/doctest.py", line 2118, in runTest
    raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for withstat.NestedWith
  File "/var/tmp/portage/dev-python/cython-0.15.1_rc0/work/Cython-0.15.1/tests-3.2/run/cpp/withstat.cpython-32.so", line unknown line number, in NestedWith

----------------------------------------------------------------------
File "/var/tmp/portage/dev-python/cython-0.15.1_rc0/work/Cython-0.15.1/tests-3.2/run/cpp/withstat.cpython-32.so", line ?, in withstat.NestedWith
Failed example:
    NestedWith().runTest()
Exception raised:
    Traceback (most recent call last):
      File "/usr/lib64/python3.2/doctest.py", line 1253, in __run
        compileflags, 1), test.globs)
      File "<doctest withstat.NestedWith[0]>", line 1, in <module>
        NestedWith().runTest()
      File "withstat.pyx", line 183, in withstat.NestedWith.runTest (withstat.cpp:5076)
      File "withstat.pyx", line 222, in withstat.NestedWith.testEnterReturnsTuple (withstat.cpp:7533)
      File "withstat.pyx", line 223, in withstat.NestedWith.testEnterReturnsTuple (withstat.cpp:7421)
      File "withstat.pyx", line 224, in withstat.NestedWith.testEnterReturnsTuple (withstat.cpp:7270)
      File "/usr/lib64/python3.2/unittest/case.py", line 1169, in deprecated_func
        DeprecationWarning, 2)
      File "/usr/lib64/python3.2/warnings.py", line 18, in showwarning
        file.write(formatwarning(message, category, filename, lineno, line))
      File "/usr/lib64/python3.2/warnings.py", line 25, in formatwarning
        line = linecache.getline(filename, lineno) if line is None else line
      File "/usr/lib64/python3.2/linecache.py", line 15, in getline
        lines = getlines(filename, module_globals)
      File "/usr/lib64/python3.2/doctest.py", line 1337, in __patched_linecache_getlines
        return self.save_linecache_getlines(filename, module_globals)
      File "/usr/lib64/python3.2/linecache.py", line 41, in getlines
        return updatecache(filename, module_globals)
      File "/usr/lib64/python3.2/linecache.py", line 127, in updatecache
        lines = fp.readlines()
      File "/usr/lib64/python3.2/codecs.py", line 300, in decode
        (result, consumed) = self._buffer_decode(data, self.errors, final)
    UnicodeDecodeError: 'utf8' codec can't decode byte 0xc0 in position 24: invalid start byte


======================================================================
FAIL: NestedWith (withstat_py)
Doctest: withstat_py.NestedWith
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib64/python3.2/doctest.py", line 2118, in runTest
    raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for withstat_py.NestedWith
  File "/var/tmp/portage/dev-python/cython-0.15.1_rc0/work/Cython-0.15.1/tests-3.2/run/c/withstat_py.cpython-32.so", line unknown line number, in NestedWith

----------------------------------------------------------------------
File "/var/tmp/portage/dev-python/cython-0.15.1_rc0/work/Cython-0.15.1/tests-3.2/run/c/withstat_py.cpython-32.so", line ?, in withstat_py.NestedWith
Failed example:
    NestedWith().runTest()
Exception raised:
    Traceback (most recent call last):
      File "/usr/lib64/python3.2/doctest.py", line 1253, in __run
        compileflags, 1), test.globs)
      File "<doctest withstat_py.NestedWith[0]>", line 1, in <module>
        NestedWith().runTest()
      File "withstat_py.py", line 228, in withstat_py.NestedWith.runTest (withstat_py.c:6128)
      File "withstat_py.py", line 267, in withstat_py.NestedWith.testEnterReturnsTuple (withstat_py.c:8585)
      File "withstat_py.py", line 268, in withstat_py.NestedWith.testEnterReturnsTuple (withstat_py.c:8473)
      File "withstat_py.py", line 269, in withstat_py.NestedWith.testEnterReturnsTuple (withstat_py.c:8322)
      File "/usr/lib64/python3.2/unittest/case.py", line 1169, in deprecated_func
        DeprecationWarning, 2)
      File "/usr/lib64/python3.2/warnings.py", line 18, in showwarning
        file.write(formatwarning(message, category, filename, lineno, line))
      File "/usr/lib64/python3.2/warnings.py", line 25, in formatwarning
        line = linecache.getline(filename, lineno) if line is None else line
      File "/usr/lib64/python3.2/linecache.py", line 15, in getline
        lines = getlines(filename, module_globals)
      File "/usr/lib64/python3.2/doctest.py", line 1337, in __patched_linecache_getlines
        return self.save_linecache_getlines(filename, module_globals)
      File "/usr/lib64/python3.2/linecache.py", line 41, in getlines
        return updatecache(filename, module_globals)
      File "/usr/lib64/python3.2/linecache.py", line 127, in updatecache
        lines = fp.readlines()
      File "/usr/lib64/python3.2/codecs.py", line 300, in decode
        (result, consumed) = self._buffer_decode(data, self.errors, final)
    UnicodeDecodeError: 'utf8' codec can't decode byte 0x90 in position 40: invalid start byte


======================================================================
FAIL: NestedWith (withstat_py)
Doctest: withstat_py.NestedWith
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib64/python3.2/doctest.py", line 2118, in runTest
    raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for withstat_py.NestedWith
  File "/var/tmp/portage/dev-python/cython-0.15.1_rc0/work/Cython-0.15.1/tests-3.2/run/cpp/withstat_py.cpython-32.so", line unknown line number, in NestedWith

----------------------------------------------------------------------
File "/var/tmp/portage/dev-python/cython-0.15.1_rc0/work/Cython-0.15.1/tests-3.2/run/cpp/withstat_py.cpython-32.so", line ?, in withstat_py.NestedWith
Failed example:
    NestedWith().runTest()
Exception raised:
    Traceback (most recent call last):
      File "/usr/lib64/python3.2/doctest.py", line 1253, in __run
        compileflags, 1), test.globs)
      File "<doctest withstat_py.NestedWith[0]>", line 1, in <module>
        NestedWith().runTest()
      File "withstat_py.py", line 228, in withstat_py.NestedWith.runTest (withstat_py.cpp:6128)
      File "withstat_py.py", line 267, in withstat_py.NestedWith.testEnterReturnsTuple (withstat_py.cpp:8585)
      File "withstat_py.py", line 268, in withstat_py.NestedWith.testEnterReturnsTuple (withstat_py.cpp:8473)
      File "withstat_py.py", line 269, in withstat_py.NestedWith.testEnterReturnsTuple (withstat_py.cpp:8322)
      File "/usr/lib64/python3.2/unittest/case.py", line 1169, in deprecated_func
        DeprecationWarning, 2)
      File "/usr/lib64/python3.2/warnings.py", line 18, in showwarning
        file.write(formatwarning(message, category, filename, lineno, line))
      File "/usr/lib64/python3.2/warnings.py", line 25, in formatwarning
        line = linecache.getline(filename, lineno) if line is None else line
      File "/usr/lib64/python3.2/linecache.py", line 15, in getline
        lines = getlines(filename, module_globals)
      File "/usr/lib64/python3.2/doctest.py", line 1337, in __patched_linecache_getlines
        return self.save_linecache_getlines(filename, module_globals)
      File "/usr/lib64/python3.2/linecache.py", line 41, in getlines
        return updatecache(filename, module_globals)
      File "/usr/lib64/python3.2/linecache.py", line 127, in updatecache
        lines = fp.readlines()
      File "/usr/lib64/python3.2/codecs.py", line 300, in decode
        (result, consumed) = self._buffer_decode(data, self.errors, final)
    UnicodeDecodeError: 'utf8' codec can't decode byte 0x90 in position 40: invalid start byte


----------------------------------------------------------------------
Ran 5577 tests in 1422.824s

FAILED (failures=4, errors=1)
ALL DONE

-- 
Arfrever Frehtes Taifersar Arahesis
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.python.org/pipermail/cython-devel/attachments/20110916/9468fce3/attachment.pgp>


More information about the cython-devel mailing list