[Baypiggies] Class decorator to capture the creation and deletion of objects

alex23 wuwei23 at gmail.com
Tue Feb 25 06:26:43 CET 2014


On 25/02/2014 12:34 PM, Chris Angelico wrote:
> On Tue, Feb 25, 2014 at 1:24 PM, Alex Martelli <aleax at google.com> wrote:
>> At this point, all entries in the table should be deleted; query should
>> return an empty list!
>
> You can't actually depend on del resulting in __del__ being called.

Mind those attributions, Chris, it was actually Sangeeth Saravanaraj who 
wrote what you quoted. I'm preeeeetty sure Alex knows all about __del__ :)



More information about the Python-list mailing list