ownership problem?

Fredrik Lundh fredrik at pythonware.com
Sun Nov 20 17:26:48 EST 2005


Jeffrey Schwab wrote:

> > Is it correct to say that the typical ownership problem, which
> > frequently arises in C++, does not occur normally in Python?
>
> What "typical ownership problem" do you feel frequently arises in C++?
> If you are referring to the sometimes difficult task of determining
> which object owns a particular resource, why would it occur less in
> Python than in C++?

the problem isn't determining who owns it, the problem is determining
who's supposed to release it.  that's not a very common problem in a
garbage-collected language...

</F>






More information about the Python-list mailing list