Hi Jakub,

> $ cat buggy.pyx
> x = basestring # OK
> x = str # OK
> x = unicode # fails
>
>
> $ cython buggy.pyx
>
> Error converting Pyrex file to C:
> ------------------------------------------------------------
> ...
> x = basestring # OK
> x = str # OK
> x = unicode # fails
>                    ^
> ------------------------------------------------------------
>
> /tmp/buggy.pyx:3:19: Cannot convert 'object (object)' to Python object

Thanks very much for the bug report! I reported it upstream:

http://codespeak.net/pipermail/cython-dev/2008-February/000038.html

Feel free to follow it in there or help upstream fixing it.

Ondrej



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to