The following test failures still occur with Python 3.1: ====================================================================== ERROR: test_globals (Cython.Build.Tests.TestInline.TestInline) ---------------------------------------------------------------------- Traceback (most recent call last): File "/var/tmp/portage/dev-python/cython-0.14/work/Cython-0.14/BUILD/Cy3/Cython/Build/Tests/TestInline.py", line 32, in test_globals self.assertEquals(inline("return global_value + 1", **test_kwds), global_value + 1) File "/var/tmp/portage/dev-python/cython-0.14/work/Cython-0.14/BUILD/Cy3/Cython/Shadow.py", line 16, in inline return cython_inline(f, *args, **kwds) File "/var/tmp/portage/dev-python/cython-0.14/work/Cython-0.14/BUILD/Cy3/Cython/Build/Inline.py", line 111, in cython_inline for symbol in unbound_symbols(code): File "/var/tmp/portage/dev-python/cython-0.14/work/Cython-0.14/BUILD/Cy3/Cython/Build/Inline.py", line 57, in unbound_symbols if not tree.scope.lookup(name) and not hasattr(__builtin__, name): NameError: global name '__builtin__' is not defined
====================================================================== ERROR: test_locals (Cython.Build.Tests.TestInline.TestInline) ---------------------------------------------------------------------- Traceback (most recent call last): File "/var/tmp/portage/dev-python/cython-0.14/work/Cython-0.14/BUILD/Cy3/Cython/Build/Tests/TestInline.py", line 29, in test_locals self.assertEquals(inline("return a+b", **test_kwds), 3) File "/var/tmp/portage/dev-python/cython-0.14/work/Cython-0.14/BUILD/Cy3/Cython/Shadow.py", line 16, in inline return cython_inline(f, *args, **kwds) File "/var/tmp/portage/dev-python/cython-0.14/work/Cython-0.14/BUILD/Cy3/Cython/Build/Inline.py", line 111, in cython_inline for symbol in unbound_symbols(code): File "/var/tmp/portage/dev-python/cython-0.14/work/Cython-0.14/BUILD/Cy3/Cython/Build/Inline.py", line 57, in unbound_symbols if not tree.scope.lookup(name) and not hasattr(__builtin__, name): NameError: global name '__builtin__' is not defined ====================================================================== ERROR: test_numpy (Cython.Build.Tests.TestInline.TestInline) ---------------------------------------------------------------------- Traceback (most recent call last): File "/var/tmp/portage/dev-python/cython-0.14/work/Cython-0.14/BUILD/Cy3/Cython/Build/Tests/TestInline.py", line 41, in test_numpy self.assertEquals(inline("return a[0,0]", a=a, **test_kwds), 10.0) File "/var/tmp/portage/dev-python/cython-0.14/work/Cython-0.14/BUILD/Cy3/Cython/Shadow.py", line 16, in inline return cython_inline(f, *args, **kwds) File "/var/tmp/portage/dev-python/cython-0.14/work/Cython-0.14/BUILD/Cy3/Cython/Build/Inline.py", line 111, in cython_inline for symbol in unbound_symbols(code): File "/var/tmp/portage/dev-python/cython-0.14/work/Cython-0.14/BUILD/Cy3/Cython/Build/Inline.py", line 57, in unbound_symbols if not tree.scope.lookup(name) and not hasattr(__builtin__, name): NameError: global name '__builtin__' is not defined ====================================================================== ERROR: test_simple (Cython.Build.Tests.TestInline.TestInline) ---------------------------------------------------------------------- Traceback (most recent call last): File "/var/tmp/portage/dev-python/cython-0.14/work/Cython-0.14/BUILD/Cy3/Cython/Build/Tests/TestInline.py", line 18, in test_simple self.assertEquals(inline("return 1+2", **test_kwds), 3) File "/var/tmp/portage/dev-python/cython-0.14/work/Cython-0.14/BUILD/Cy3/Cython/Shadow.py", line 16, in inline return cython_inline(f, *args, **kwds) File "/var/tmp/portage/dev-python/cython-0.14/work/Cython-0.14/BUILD/Cy3/Cython/Build/Inline.py", line 128, in cython_inline module_name = "_cython_inline_" + hashlib.md5(str(key)).hexdigest() TypeError: Unicode-objects must be encoded before hashing ====================================================================== ERROR: test_types (Cython.Build.Tests.TestInline.TestInline) ---------------------------------------------------------------------- Traceback (most recent call last): File "/var/tmp/portage/dev-python/cython-0.14/work/Cython-0.14/BUILD/Cy3/Cython/Build/Tests/TestInline.py", line 24, in test_types """, a=1.0, b=[], **test_kwds), ('double', 'list object')) File "/var/tmp/portage/dev-python/cython-0.14/work/Cython-0.14/BUILD/Cy3/Cython/Shadow.py", line 16, in inline return cython_inline(f, *args, **kwds) File "/var/tmp/portage/dev-python/cython-0.14/work/Cython-0.14/BUILD/Cy3/Cython/Build/Inline.py", line 128, in cython_inline module_name = "_cython_inline_" + hashlib.md5(str(key)).hexdigest() TypeError: Unicode-objects must be encoded before hashing ====================================================================== ERROR: compiling (c) and running numpy_bufacc_T155 ---------------------------------------------------------------------- Traceback (most recent call last): File "runtests.py", line 464, in run self.runCompileTest() File "runtests.py", line 299, in runCompileTest self.test_directory, self.expect_errors, self.annotate) File "runtests.py", line 441, in compile self.assertEquals(None, unexpected_error) AssertionError: None != "10:9: 'ndarray' is not a type identifier" ====================================================================== ERROR: compiling (cpp) and running numpy_bufacc_T155 ---------------------------------------------------------------------- Traceback (most recent call last): File "runtests.py", line 464, in run self.runCompileTest() File "runtests.py", line 299, in runCompileTest self.test_directory, self.expect_errors, self.annotate) File "runtests.py", line 441, in compile self.assertEquals(None, unexpected_error) AssertionError: None != "10:9: 'ndarray' is not a type identifier" ====================================================================== ERROR: compiling (c) and running numpy_cimport ---------------------------------------------------------------------- Traceback (most recent call last): File "runtests.py", line 464, in run self.runCompileTest() File "runtests.py", line 299, in runCompileTest self.test_directory, self.expect_errors, self.annotate) File "runtests.py", line 441, in compile self.assertEquals(None, unexpected_error) AssertionError: None != '173:49: "mode" is not a buffer option' ====================================================================== ERROR: compiling (cpp) and running numpy_cimport ---------------------------------------------------------------------- Traceback (most recent call last): File "runtests.py", line 464, in run self.runCompileTest() File "runtests.py", line 299, in runCompileTest self.test_directory, self.expect_errors, self.annotate) File "runtests.py", line 441, in compile self.assertEquals(None, unexpected_error) AssertionError: None != '173:49: "mode" is not a buffer option' ====================================================================== ERROR: compiling (c) and running numpy_test ---------------------------------------------------------------------- Traceback (most recent call last): File "runtests.py", line 464, in run self.runCompileTest() File "runtests.py", line 299, in runCompileTest self.test_directory, self.expect_errors, self.annotate) File "runtests.py", line 441, in compile self.assertEquals(None, unexpected_error) AssertionError: None != '173:49: "mode" is not a buffer option' ====================================================================== ERROR: compiling (cpp) and running numpy_test ---------------------------------------------------------------------- Traceback (most recent call last): File "runtests.py", line 464, in run self.runCompileTest() File "runtests.py", line 299, in runCompileTest self.test_directory, self.expect_errors, self.annotate) File "runtests.py", line 441, in compile self.assertEquals(None, unexpected_error) AssertionError: None != '173:49: "mode" is not a buffer option' ---------------------------------------------------------------------- Ran 4769 tests in 1415.911s FAILED (errors=11) === Expected errors: === === Got errors: === 10:9: 'ndarray' is not a type identifier 173:49: "mode" is not a buffer option === Expected errors: === === Got errors: === 10:9: 'ndarray' is not a type identifier 173:49: "mode" is not a buffer option === Expected errors: === === Got errors: === 173:49: "mode" is not a buffer option === Expected errors: === === Got errors: === 173:49: "mode" is not a buffer option === Expected errors: === === Got errors: === 173:49: "mode" is not a buffer option 253:18: 'ndarray' is not a type identifier 258:22: 'ndarray' is not a type identifier 265:18: 'ndarray' is not a type identifier 270:18: 'ndarray' is not a type identifier 276:14: 'ndarray' is not a type identifier 277:15: 'ndarray' is not a type identifier 278:15: 'ndarray' is not a type identifier 279:16: 'ndarray' is not a type identifier 280:13: 'ndarray' is not a type identifier 281:14: 'ndarray' is not a type identifier 282:14: 'ndarray' is not a type identifier 283:15: 'ndarray' is not a type identifier 284:18: 'ndarray' is not a type identifier 285:19: 'ndarray' is not a type identifier 287:15: 'ndarray' is not a type identifier 288:16: 'ndarray' is not a type identifier 289:20: 'ndarray' is not a type identifier 291:16: 'ndarray' is not a type identifier 292:17: 'ndarray' is not a type identifier 293:21: 'ndarray' is not a type identifier 295:23: 'ndarray' is not a type identifier 299:24: 'ndarray' is not a type identifier 303:28: 'ndarray' is not a type identifier 309:16: 'ndarray' is not a type identifier 315:15: 'ndarray' is not a type identifier 316:16: 'ndarray' is not a type identifier 317:17: 'ndarray' is not a type identifier 318:18: 'ndarray' is not a type identifier 319:22: 'ndarray' is not a type identifier 320:16: 'ndarray' is not a type identifier 321:17: 'ndarray' is not a type identifier 324:17: 'ndarray' is not a type identifier 325:19: 'ndarray' is not a type identifier 387:9: 'ndarray' is not a type identifier 393:9: 'ndarray' is not a type identifier 403:22: 'ndarray' is not a type identifier 408:24: 'ndarray' is not a type identifier 414:9: 'complex64_t' is not a type identifier 415:9: 'complex128_t' is not a type identifier 424:4: 'float64_t' is not a type identifier 427:9: 'ndarray' is not a type identifier === Expected errors: === === Got errors: === 173:49: "mode" is not a buffer option 253:18: 'ndarray' is not a type identifier 258:22: 'ndarray' is not a type identifier 265:18: 'ndarray' is not a type identifier 270:18: 'ndarray' is not a type identifier 276:14: 'ndarray' is not a type identifier 277:15: 'ndarray' is not a type identifier 278:15: 'ndarray' is not a type identifier 279:16: 'ndarray' is not a type identifier 280:13: 'ndarray' is not a type identifier 281:14: 'ndarray' is not a type identifier 282:14: 'ndarray' is not a type identifier 283:15: 'ndarray' is not a type identifier 284:18: 'ndarray' is not a type identifier 285:19: 'ndarray' is not a type identifier 287:15: 'ndarray' is not a type identifier 288:16: 'ndarray' is not a type identifier 289:20: 'ndarray' is not a type identifier 291:16: 'ndarray' is not a type identifier 292:17: 'ndarray' is not a type identifier 293:21: 'ndarray' is not a type identifier 295:23: 'ndarray' is not a type identifier 299:24: 'ndarray' is not a type identifier 303:28: 'ndarray' is not a type identifier 309:16: 'ndarray' is not a type identifier 315:15: 'ndarray' is not a type identifier 316:16: 'ndarray' is not a type identifier 317:17: 'ndarray' is not a type identifier 318:18: 'ndarray' is not a type identifier 319:22: 'ndarray' is not a type identifier 320:16: 'ndarray' is not a type identifier 321:17: 'ndarray' is not a type identifier 324:17: 'ndarray' is not a type identifier 325:19: 'ndarray' is not a type identifier 387:9: 'ndarray' is not a type identifier 393:9: 'ndarray' is not a type identifier 403:22: 'ndarray' is not a type identifier 408:24: 'ndarray' is not a type identifier 414:9: 'complex64_t' is not a type identifier 415:9: 'complex128_t' is not a type identifier 424:4: 'float64_t' is not a type identifier 427:9: 'ndarray' is not a type identifier ALL DONE -- Arfrever Frehtes Taifersar Arahesis
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Cython-dev mailing list Cython-dev@codespeak.net http://codespeak.net/mailman/listinfo/cython-dev