On Tue, Sep 28, 2010 at 4:03 PM, Jakub Wilk <[email protected]> wrote: > * Yaroslav Halchenko <[email protected]>, 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 _______________________________________________ Python-modules-team mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/python-modules-team

