2011-07-31 09:45:15 Robert Bradshaw napisaƂ(a):
> On Thu, Jul 21, 2011 at 4:14 PM, Robert Bradshaw
> <[email protected]> wrote:
> > Cython has seen an enormous amount of development since 0.14.1. If you
> > are not already using the latest version from the development
> > repository, we encourage you to try out the release candidate:
> > http://cython.org/release/Cython-0.15rc0.tar.gz
> 
> Thanks for all the feedback. Here's another release candidate:
> http://cython.org/release/Cython-0.15rc0.tar.gz Unless something major
> is found, this is likely to be the release.

Cython-0.15rc1.tar.gz contains tests/imports/cimport_on_import.srctree, which 
was
absent in Cython-0.15rc0.tar.gz and is absent on 
https://github.com/cython/cython.
The test from this file fails:

End-to-end cimport_on_import ... /usr/bin/python2.6 setup.py build_ext --inplace
Compiling cy_module.pyx because it changed.
Compiling main.pyx because it changed.


Error compiling Cython file:
------------------------------------------------------------
...

from cy_module import A, B
from py_module import py_object

assert typeof(A) == "type object", typeof(A)
cdef A a = A()
    ^
------------------------------------------------------------

main.pyx:10:5: 'A' is not a type identifier
Traceback (most recent call last):
  File "setup.py", line 6, in <module>
    ext_modules = cythonize("*.pyx"),
  File 
"/var/tmp/portage/dev-python/cython-0.15_rc1/work/Cython-0.15rc1/Cython/Build/Dependencies.py",
 line 508, in cythonize
    cythonize_one(pyx_file, c_file, options)
  File 
"/var/tmp/portage/dev-python/cython-0.15_rc1/work/Cython-0.15rc1/Cython/Build/Dependencies.py",
 line 529, in cythonize_one
    raise CompileError(None, pyx_file)
Cython.Compiler.Errors.CompileError: main.pyx
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: No module named main

FAIL

-- 
Arfrever Frehtes Taifersar Arahesis

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
cython-devel mailing list
[email protected]
http://mail.python.org/mailman/listinfo/cython-devel

Reply via email to