Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Compilation fail because of doc string
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Talanor  
View profile  
 More options Sep 4 2012, 2:25 pm
From: Talanor <adron...@gmail.com>
Date: Tue, 4 Sep 2012 11:25:53 -0700 (PDT)
Local: Tues, Sep 4 2012 2:25 pm
Subject: Re: Compilation fail because of doc string

Le jeudi 30 août 2012 15:57:36 UTC+2, Talanor a écrit :

> Hello,

> 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.

> Thank you

 Hello!

I don't know if you saw this :-°

Nobody answered me, so I guess you didn't.

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.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.