Default scope of variables
Chris Angelico
rosuav at gmail.com
Fri Jul 5 09:43:51 EDT 2013
On Fri, Jul 5, 2013 at 11:24 PM, Neil Cerutti <neilc at norwich.edu> wrote:
> Python provides deterministic destruction with a different
> feature.
You mean 'with'? That's not actually destruction, it just does one of
the same jobs that deterministic destruction is used for (RAII). It
doesn't, for instance, have any influence on memory usage, nor does it
ensure the destruction of the object's referents. But yes, it does
achieve (one of) the most important role(s) of destruction.
ChrisA
More information about the Python-list
mailing list