Re: [Cython] Cython 0.16 Beta 0

2012-03-05 Thread mark florisson
On 5 March 2012 05:41, Arfrever Frehtes Taifersar Arahesis
arfre...@gentoo.org wrote:
 All tests pass with Python 2.6 (2.6.7 release).
 All tests pass with Python 2.7 (snapshot of 2.7 branch, revision 
 52ecec12c0ed).
 10 failures with Python 3.1 (3.1.4 release).
 14 failures with Python 3.2 (snapshot of 3.2 branch, revision 4966907d3661).

 Failures with Python 3.2:

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

 --
 File 
 /var/tmp/portage/dev-python/cython-0.16_beta0/work/Cython-0.16.beta0/tests-3.2/run/c/memoryviewattrs.cpython-32.so,
  line ?, in memoryviewattrs.__test__.test_copy_to
 Failed example:
    test_copy_to()
 Expected:
    0 1 2 3 4 5 6 7
    0 1 2 3 4 5 6 7
    0 1 2 3 4 5 6 7
 Got:
    0 1 2 3 4 5 6 7
    0 1 2 3 4 5 6 7
    0 1 2 3 4 5 6 7


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

 --
 File 
 /var/tmp/portage/dev-python/cython-0.16_beta0/work/Cython-0.16.beta0/tests-3.2/run/cpp/memoryviewattrs.cpython-32.so,
  line ?, in memoryviewattrs.__test__.test_copy_to
 Failed example:
    test_copy_to()
 Expected:
    0 1 2 3 4 5 6 7
    0 1 2 3 4 5 6 7
    0 1 2 3 4 5 6 7
 Got:
    0 1 2 3 4 5 6 7
    0 1 2 3 4 5 6 7
    0 1 2 3 4 5 6 7


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

 --
 File 
 /var/tmp/portage/dev-python/cython-0.16_beta0/work/Cython-0.16.beta0/tests-3.2/run/c/numpy_memoryview.cpython-32.so,
  line ?, in numpy_memoryview.__test__.test_coerce_to_numpy
 Failed example:
    test_coerce_to_numpy()
 Expected:
    (97, 98, 600L, 700, 800)
    deallocating...
    (600, 700)
    deallocating...
    ((100, 200), (300, 400), 500)
    deallocating...
    (97, 900)
    deallocating...
    99
    deallocating...
    111
    deallocating...
    222
    deallocating...
    333
    deallocating...
    11.1
    deallocating...
    12.2
    deallocating...
    13.3
    deallocating...
    (14.4+15.5j)
    deallocating...
    (16.6+17.7j)
    deallocating...
    (18.8+19.9j)
    deallocating...
    22
    deallocating...
    33.33
    deallocating...
    44
    deallocating...
 Got:
    (97, 98, 600, 700, 800)
    deallocating...
    (600, 700)
    deallocating...
    ((100, 200), (300, 400), 500)
    deallocating...
    (97, 900)
    deallocating...
    99
    deallocating...
    111
    deallocating...
    222
    deallocating...
    333
    deallocating...
    11.1
    deallocating...
    12.2
    deallocating...
    13.3
    deallocating...
    (14.4+15.5j)
    deallocating...
    (16.6+17.7j)
    deallocating...
    (18.8+19.9j)
    deallocating...
    22
    deallocating...
    33.33
    deallocating...
    44
    deallocating...


 ==
 FAIL: test_memslice_structarray (numpy_memoryview.__test__)
 Doctest: numpy_memoryview.__test__.test_memslice_structarray
 --
 Traceback (most recent call last):
  File 

Re: [Cython] Cython 0.16 Beta 0

2012-03-04 Thread Arfrever Frehtes Taifersar Arahesis
All tests pass with Python 2.6 (2.6.7 release).
All tests pass with Python 2.7 (snapshot of 2.7 branch, revision 52ecec12c0ed).
10 failures with Python 3.1 (3.1.4 release).
14 failures with Python 3.2 (snapshot of 3.2 branch, revision 4966907d3661).

Failures with Python 3.2:

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

--
File 
/var/tmp/portage/dev-python/cython-0.16_beta0/work/Cython-0.16.beta0/tests-3.2/run/c/memoryviewattrs.cpython-32.so,
 line ?, in memoryviewattrs.__test__.test_copy_to
Failed example:
test_copy_to()
Expected:
0 1 2 3 4 5 6 7
0 1 2 3 4 5 6 7
0 1 2 3 4 5 6 7
Got:
0 1 2 3 4 5 6 7 
0 1 2 3 4 5 6 7 
0 1 2 3 4 5 6 7 


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

--
File 
/var/tmp/portage/dev-python/cython-0.16_beta0/work/Cython-0.16.beta0/tests-3.2/run/cpp/memoryviewattrs.cpython-32.so,
 line ?, in memoryviewattrs.__test__.test_copy_to
Failed example:
test_copy_to()
Expected:
0 1 2 3 4 5 6 7
0 1 2 3 4 5 6 7
0 1 2 3 4 5 6 7
Got:
0 1 2 3 4 5 6 7 
0 1 2 3 4 5 6 7 
0 1 2 3 4 5 6 7 


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

--
File 
/var/tmp/portage/dev-python/cython-0.16_beta0/work/Cython-0.16.beta0/tests-3.2/run/c/numpy_memoryview.cpython-32.so,
 line ?, in numpy_memoryview.__test__.test_coerce_to_numpy
Failed example:
test_coerce_to_numpy()
Expected:
(97, 98, 600L, 700, 800)
deallocating...
(600, 700)
deallocating...
((100, 200), (300, 400), 500)
deallocating...
(97, 900)
deallocating...
99
deallocating...
111
deallocating...
222
deallocating...
333
deallocating...
11.1
deallocating...
12.2
deallocating...
13.3
deallocating...
(14.4+15.5j)
deallocating...
(16.6+17.7j)
deallocating...
(18.8+19.9j)
deallocating...
22
deallocating...
33.33
deallocating...
44
deallocating...
Got:
(97, 98, 600, 700, 800)
deallocating...
(600, 700)
deallocating...
((100, 200), (300, 400), 500)
deallocating...
(97, 900)
deallocating...
99
deallocating...
111
deallocating...
222
deallocating...
333
deallocating...
11.1
deallocating...
12.2
deallocating...
13.3
deallocating...
(14.4+15.5j)
deallocating...
(16.6+17.7j)
deallocating...
(18.8+19.9j)
deallocating...
22
deallocating...
33.33
deallocating...
44
deallocating...


==
FAIL: test_memslice_structarray (numpy_memoryview.__test__)
Doctest: numpy_memoryview.__test__.test_memslice_structarray
--
Traceback (most recent call last):
  File /usr/lib64/python3.2/doctest.py, line 2153, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest