On Mar 11, 2010, at 11:46 AM, Ondrej Certik wrote:

> On Thu, Mar 11, 2010 at 6:53 AM, Lisandro Dalcin <[email protected]>  
> wrote:
>> On 11 March 2010 03:38, Ondrej Certik <[email protected]> wrote:
>>> On Tue, Mar 9, 2010 at 5:03 PM, Lisandro Dalcin  
>>> <[email protected]> wrote:
>>>> Folks, I've been doing some housekeeping work in the testsuite to  
>>>> make
>>>> GCC warnings under control.

Thanks!

[...]

>> These are innocent warnings... These are docstrings from special
>> methods... Cython generates them, but as Python C-API does not have a
>> place to put them, then they are unused in the C code...
>>
>> Mmm... perhaps we should not emit these strings in the C code? After
>> all, we know they will not be used... What's the point of emitting
>> them?
>
> They should not be emitted imho. All gcc warnings suck.

Yep, I agree. IIRC, we're able to attach some of the special method  
docstrings, but the others should possibly be stuck somewhere on the  
class rather than simply discarded.

As for the refnanny ones,

http://hg.cython.org/cython-devel/rev/3045d63c5f14

- Robert

_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to