Re: memory leak

Greg Ewing <[email protected]>
Newsgroups gmane.comp.python.pyobjc.devel
Message-ID <[email protected]>
Daniel Luis dos Santos wrote:
> You are right about not making much sense in using a NSString this way. I did it out of distraction.
> My question is still on. Why the warning ?

It looks like a bug in pyobjc to me. According to the Cocoa
docs, [[NSString alloc] init] gives you an empty NSString,
so the equivalent in Python ought to work, even if it's not
particularly useful.

-- 
Greg

------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.