[Cython] Cython 0.21 beta 1 released
Stefan Behnel
stefan_ml at behnel.de
Thu Aug 28 20:39:54 CEST 2014
Hi,
thanks for testing.
Arfrever Frehtes Taifersar Arahesis schrieb am 14.08.2014 um 10:18:
> Results of test suite of Cython 0.21 beta 1 with different versions of Python:
> Python 2.6: 1 error, 2 failures
> Python 2.7: 1 error, 0 failures
> Python 3.2: 1 error, 0 failures
> Python 3.3: 1 error, 0 failures
> Python 3.4: 1 error, 0 failures
>
> The 1 error is the same with all versions of Python.
> Output with Python 2.6:
>
> ======================================================================
> ERROR: compiling (c) and running bufaccess
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "runtests.py", line 1022, in run
> check_thread_termination()
> File "runtests.py", line 1633, in check_thread_termination
> raise PendingThreadsError("left-over threads found after running test")
> PendingThreadsError: left-over threads found after running test
>
> ======================================================================
There should be some output in the log where the test is run that shows
what threads are still running here. Could you look that up?
> ======================================================================
> FAIL: Doctest: double_dealloc_T796
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "/usr/lib64/python2.6/doctest.py", line 2163, in runTest
> raise self.failureException(self.format_failure(new.getvalue()))
> AssertionError: Failed doctest test for double_dealloc_T796
> File "/tmp/Cython-0.21b1/tests-2.6/run/cpp/double_dealloc_T796/double_dealloc_T796.so", line unknown line number, in double_dealloc_T796
>
> ----------------------------------------------------------------------
> File "/tmp/Cython-0.21b1/tests-2.6/run/cpp/double_dealloc_T796/double_dealloc_T796.so", line ?, in double_dealloc_T796
> Failed example:
> del x
> Expected:
> SimpleGarbage(1) __dealloc__
> Collector.__dealloc__
> collect 0
> Got:
> SimpleGarbage(1) __dealloc__
> Collector.__dealloc__
> collect 128
This might just be a problem with the test. Does this patch help?
=========================================
diff -r f7b5d79a04e6 -r e2f2cf8efcc7 tests/run/double_dealloc_T796.pyx
--- a/tests/run/double_dealloc_T796.pyx Thu Aug 28 20:21:14 2014 +0200
+++ b/tests/run/double_dealloc_T796.pyx Thu Aug 28 20:31:06 2014 +0200
@@ -1,4 +1,5 @@
"""
+>>> gc.collect()
>>> x = SimpleGarbage()
SimpleGarbage(1) __cinit__
>>> del x
=========================================
Stefan
More information about the cython-devel
mailing list