[Python-apps-team] Bug#597848: (cython: fresh upstream is available (0.13)) -- evas, ecore, djvu FTBFS
Ondrej Certik
ondrej at certik.cz
Tue Sep 28 23:16:02 UTC 2010
On Tue, Sep 28, 2010 at 4:03 PM, Jakub Wilk <jwilk at debian.org> wrote:
> * Yaroslav Halchenko <yoh at debian.org>, 2010-09-27, 10:21:
>>
>> *$>
>> PYTHONPATH=/home/yoh/deb/debs/build-area/cython-test-bdepeds/python-djvulibre-0.1.18/build/lib.linux-x86_64-2.6
>> python -c 'from djvu.const import *'
>> Traceback (most recent call last):
>> File "<string>", line 1, in <module>
>> File
>> "/home/yoh/deb/debs/build-area/cython-test-bdepeds/python-djvulibre-0.1.18/build/lib.linux-x86_64-2.6/djvu/const.py",
>> line 15, in <module>
>> import djvu.sexpr
>> File "sexpr.pyx", line 1, in init djvu.sexpr (djvu/sexpr.c:10615)
>> AttributeError: 'module' object has no attribute 'Symbol__new__'
>
> That's an interesting regression! The minimal test-case is:
>
>
> def foo():
> '''bar'''
> return 42
> del foo
>
>
> This code works well with Python and old Cython but fails with Cython 0.13.
> A work-around is to just remove the docstring.
Thanks, I can also reproduce this and I have just reported it upstream here:
http://groups.google.com/group/cython-users/browse_thread/thread/63f8d80d74409aca
please follow it up there.
Ondrej
More information about the Python-apps-team
mailing list