Searching equivalent to C++ RAII or deterministic destructors

Bearophile bearophileHUGS at lycos.com
Thu Jul 2 05:50:17 EDT 2009


Ulrich Eckhardt:
> a way to automatically release the resource, something
> which I would do in the destructor in C++.

Is this helpful?
http://effbot.org/pyref/with.htm

Bye,
bearophile



More information about the Python-list mailing list