gc question
Vince
vpalexander at gmail.com
Sun Mar 9 05:57:38 EDT 2008
On Mar 9, 1:51 am, Marc 'BlackJack' Rintsch <bj_... at gmx.net> wrote:
> On Sun, 09 Mar 2008 01:42:01 -0800, vpalexander wrote:
> > I keep seeing destructor calls in wx for ad hoc dialogs and wonder if
> > this is required, and if so, why would normal gc flow not be good?
>
> Because there is no guarantee when `__del__()` is called or if it is
> called *at all*.
>
> Ciao,
> Marc 'BlackJack' Rintsch
Well, that suits me. The most unnatural thing about Python was
adapting to the idea of just letting unreleased resources go jogging
off wherever. :)
"Where's the f.close?"
"You don't need it!"
Hmmm!
More information about the Python-list
mailing list