does python have useless destructors?
Marcin 'Qrczak' Kowalczyk
qrczak at knm.org.pl
Mon Jun 14 04:53:43 EDT 2004
On Mon, 14 Jun 2004 00:00:39 -0700, David Turner wrote:
> The D programming language somehow contrives to have both garbage
> collection and working destructors. So why can't Python?
What happens in D when you make a pointer to a local variable,
the variable goes out of scope, and you use the pointer?
Undefined behavior? If so, it's unacceptable for Python.
--
__("< Marcin Kowalczyk
\__/ qrczak at knm.org.pl
^^ http://qrnik.knm.org.pl/~qrczak/
More information about the Python-list
mailing list