Re: [Python-Dev] Removing __del__

2006-09-23 Thread Giovanni Bajo
Marcin 'Qrczak' Kowalczyk wrote: >> 1) There's a way to destruct the handle BEFORE __del__ is called, >> which would require killing the weakref / deregistering the >> finalization hook. > > Weakrefs should have a method which runs their callback and > unregisters them. > >> 2) The objects require

Re: [Python-Dev] Removing __del__

2006-09-21 Thread Nick Coghlan
Nick Coghlan wrote: > Adding pydev back in, since these seem like reasonable questions to me :) D'oh, that should have been python-3000 not python-dev :( Sorry for the noise, folks. Cheers, Nick. -- Nick Coghlan | [EMAIL PROTECTED] | Brisbane, Australia ---

Re: [Python-Dev] Removing __del__

2006-09-21 Thread Nick Coghlan
Adding pydev back in, since these seem like reasonable questions to me :) Jim Jewett wrote: > On 9/20/06, Nick Coghlan <[EMAIL PROTECTED]> wrote: >> # Create a class with the same instance attributes >> # as the original >> class attr_holder(object): >>