[Cython] Cython 0.15 release candidate

Arfrever Frehtes Taifersar Arahesis arfrever.fta at gmail.com
Tue Aug 2 00:04:56 CEST 2011

2011-07-31 09:45:15 Robert Bradshaw napisał(a):
> On Thu, Jul 21, 2011 at 4:14 PM, Robert Bradshaw
> <robertwb at math.washington.edu> 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


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/20110802/79ce86d9/attachment.pgp>

More information about the cython-devel mailing list