On Mar 21, 11:59 am, andrew cooke and...@acooke.org wrote:
Aaron Brady wrote:
My point is, that garbage collection is able to detect when there are
no program-reachable references to an object. Why not notify the
programmer (the programmer's objects) when that happens? If the
object
andrew cooke and...@acooke.org writes:
the two dominant virtual machines - .net and the jvm both handle circular
references with no problem whatever.
AFAIK, they also don't guarantee that finalizers ever run, much less
run in deterministic order.
--
On Mar 20, 8:12 pm, andrew cooke and...@acooke.org wrote:
Aaron Brady wrote:
[...]
caveats and fragilities? If free software can do it, why isn't it all
over the industry? What disqualifies it from solved-problem status?
the two dominant virtual machines - .net and the jvm both handle
The actual backend of CPython requires garbage-collected container
types to implement tp_inquiry and tp_clear methods, but user-defined
types apparently aren't required to conform.
tp_inquiry doesn't exist, you probably mean tp_traverse. tp_traverse
is completely irrelevant for python-defined
Paul Rubin wrote:
andrew cooke and...@acooke.org writes:
the two dominant virtual machines - .net and the jvm both handle
circular
references with no problem whatever.
AFAIK, they also don't guarantee that finalizers ever run, much less
run in deterministic order.
i think you're right, but
On Mar 21, 7:54 am, andrew cooke and...@acooke.org wrote:
Paul Rubin wrote:
andrew cooke and...@acooke.org writes:
the two dominant virtual machines - .net and the jvm both handle
circular
references with no problem whatever.
AFAIK, they also don't guarantee that finalizers ever run,
Aaron Brady wrote:
On Mar 21, 7:54 am, andrew cooke and...@acooke.org wrote:
they should not be used to do things like flushing and closing
files, for example.
What is your basis for this claim, if it's not the mere unreliability
of finalization? IOW, are you not merely begging the question?
andrew cooke wrote:
Aaron Brady wrote:
On Mar 21, 7:54 am, andrew cooke and...@acooke.org wrote:
they should not be used to do things like flushing and closing
files, for example.
What is your basis for this claim, if it's not the mere unreliability
of finalization? IOW, are you not merely
On Mar 21, 9:50 am, andrew cooke and...@acooke.org wrote:
Aaron Brady wrote:
On Mar 21, 7:54 am, andrew cooke and...@acooke.org wrote:
they should not be used to do things like flushing and closing
files, for example.
What is your basis for this claim, if it's not the mere unreliability
On Mar 21, 10:28 am, Aaron Brady castiro...@gmail.com wrote:
On Mar 21, 9:50 am, andrew cooke and...@acooke.org wrote:
Aaron Brady wrote:
On Mar 21, 7:54 am, andrew cooke and...@acooke.org wrote:
they should not be used to do things like flushing and closing
files, for example.
Aaron Brady wrote:
My point is, that garbage collection is able to detect when there are
no program-reachable references to an object. Why not notify the
programmer (the programmer's objects) when that happens? If the
object does still have other unreachable references, s/he should be
Aaron Brady wrote:
Hello,
I was reading and Googling about garbage collection, reference
counting, and the problem of cyclic references.
Python's garbage collection module claims to be able to detect and
break cyclic garbage. Some other languages merely prohibit it. Is
this the place to ask
On Mar 21, 1:04 pm, John Nagle na...@animats.com wrote:
Aaron Brady wrote:
Hello,
I was reading and Googling about garbage collection, reference
counting, and the problem of cyclic references.
Python's garbage collection module claims to be able to detect and
break cyclic garbage.
Hello,
I was reading and Googling about garbage collection, reference
counting, and the problem of cyclic references.
Python's garbage collection module claims to be able to detect and
break cyclic garbage. Some other languages merely prohibit it. Is
this the place to ask about its technique?
Aaron Brady wrote:
[...]
caveats and fragilities? If free software can do it, why isn't it all
over the industry? What disqualifies it from solved-problem status?
the two dominant virtual machines - .net and the jvm both handle circular
references with no problem whatever. this is standard
15 matches
Mail list logo