Proposal: Automatic Resource Management
reinier at zwitserloot.com
Mon Mar 9 11:09:11 PDT 2009
Vilya, you can check the entire history of this mailing list over at:
Afaik, the latest version of the ARM proposal is here. Assuming Josh
turned auto-republish on, this URL should always point at the latest
AutoClosable idea sounds good to me too, FWIW.
On Mar 9, 2009, at 18:55, Vilya Harvey wrote:
> 2009/3/9 Tim Peierls <tim at peierls.net>
>> And yes, this will frustrate designers of new resource-ish types
>> who want
>> ARM support but for whom "close" is not at all the appropriate
>> verb. But
>> designers of new types are at least free to design abstractions
>> that aren't
>> as delicate in their clean-up requirements as the current crop of
> Just as a data point, the equivalent to this in Python - the with
> block -
> uses the method names __enter__ and __exit__ (you can ignore the
> underscore, that's just a Python convention).
> I joined this mailing list too late to see the proposal when it was
> does it include calling any kind of setup method on entering the
> block? If
> not, this may be worth considering as well?
> BTW, is there anywhere online where I can read the proposal?
More information about the coin-dev