amitp at Xenon.Stanford.EDU
Tue Jun 1 21:52:59 CEST 1999
Yukihiro Matsumoto <matz at netlab.co.jp> wrote:
| "Vadim Chugunov" <chega_ at yahoo.com> writes:
| |> Remember the original statement is like this:
| |> >As many people have noted before, you would not be able to use
| |> >destructors to free up resources like memory or file descriptors.
| |>which, as I understand, means destructors can not be used with real
| |>GC. That's just not true.
| |I'm sorry for being unclear, but the key words here were: "to free up
| |And I meant "to free up resources the moment I expect them to", not "some time
| Well, OK. I understand now. Now only thing I can say is, why do you
| emphasize so much on reclaiming object at the time you exepcted?
| Because of your C++ background?
In my case it's because in Python and C++ I tend to deal with
resources a LOT. Sockets especially, but also files. When I write
Scheme and ML code, I rarely ever deal with resources other than
memory, so it doesn't bother me.
It's not the language but how I tend to use it that colors my opinion
More information about the Python-list