ownership problem?
Jeffrey Schwab
jeff at schwabcenter.com
Mon Nov 21 08:27:16 EST 2005
Fredrik Lundh wrote:
> Jeffrey Schwab wrote:
>
>
>>>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...
>>
>>Yes it is. Memory is only one type of resource.
>
>
> Python's garbage collector deals with objects, not memory.
But you don't want to spin and wait for the garbage collector to release
the object that happens to be holding a thread lock...
>>I am not a Python Guru
>
>
> from the sound of it, you haven't written serious programs in any of the
> languages you mention.
You would be wrong there. :)
More information about the Python-list
mailing list