Talanor, 04.09.2012 20:25:
> Le jeudi 30 août 2012 15:57:36 UTC+2, Talanor a écrit :
>> i've been using your tool again. And I randomly found a strange behaviour.
>> Well, in fact, it is not strange, but unexpected..
>>
>> The problem can be summarized by this line of python :
>>
>> ''.join([])
>>
>> When i compiled it, cython told me :
>> test.py:1:2: Syntax error in doc string
>>
>> Is it a normal behaviour?
>> I must admit I didn't look for this kind of errors on the whole web but
>> didn't found it in the first google results.
>
> The problem is that cython doesn't like variables doc strings.
> I mean : cython tries to assign the docstring to the related
> fonction/module instead of ignoring it and assigning None as the docstring
> like cpython does.
Yes, thanks for the report. Looks like a bug in the parser.
Stefan