On Tue, 03 Aug 2010 18:48:24 +1000, James Mills wrote: >> One feature which can't readily be implemented in C is the automatic >> clean-up side of the RAII idiom. > > C is a Turing-Complete Language is it not ? > > If so, therefore is it not true "anything" can be implemented ? > Even the "automated clean-up side of the RAIL idiom" ?
By "automated", I mean the fact that destructors get called automatically when a local variable goes out of scope, whether by reaching the end of the block, return, break, continue, or an exception. In C, the clean-up has to be made explicit, i.e. not "automated". -- http://mail.python.org/mailman/listinfo/python-list