[PYTHON MATRIX-SIG] URNG-2.2
Konrad HINSEN
hinsenk@ere.umontreal.ca
Thu, 22 Feb 1996 17:29:40 -0500
So is this right, you *have* to supply a dealloc method when you write an
extension object? If so, maybe modulator shouldn't give you a choice.
That is also my understanding. It also makes sense, because Python
can't know how to deallocate your object. It can only keep track
of the reference count and call the dealloc method when it reaches
zero. So even if it were allowed not to have a dealloc method,
this would mean a permanent memory leak.
-------------------------------------------------------------------------------
Konrad Hinsen | E-Mail: hinsenk@ere.umontreal.ca
Departement de chimie | Tel.: +1-514-343-6111 ext. 3953
Universite de Montreal | Fax: +1-514-343-7586
C.P. 6128, succ. Centre-Ville | Deutsch/Esperanto/English/Nederlands/
Montreal (QC) H3C 3J7 | Francais (phase experimentale)
-------------------------------------------------------------------------------
=================
MATRIX-SIG - SIG on Matrix Math for Python
send messages to: matrix-sig@python.org
administrivia to: matrix-sig-request@python.org
=================