Nathaniel Smith wrote:
> On Tue, Mar 3, 2009 at 4:12 AM, Laurent Gautier <lgaut...@gmail.com> wrote:
>> but my concern is over possible object duplication when returning from
>> 'function(*args, **kwargs)' (not necessarily the case, but if something is
>> invisible and I can't get rid of copying this is annoying - I need more
>> thinking about this).
> 
> Why would you be copying function return values?

Ideally nowhere.

 From the top of my head I had to throw a couple of Rf_Duplicate() in 
here and there (and no time to double-check that presently), which I'd 
like to confirm or infirm.

Reading again I see that the third line suffers from a forgotten 
little-but-important words trauma.
It should read:
"invisible and *if* I can't get rid (...)"

L.


> -- Nathaniel


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to