Alexander Myodov wrote: > Sorry, I misworded the question - RIIA is indeed present at least by > the reason that the examples from PEP pass. Agree, my problem is a bit > different, and I a bit mixed up initialization/acquisition with > lifetime blocks. So, seems that we indeed have one and still don't > have another. > Or maybe you have an idea how this can be fixed?
Why do you want to restrict the lifetime of a variable? If you want the variable to become unassigned, just invoke the del statement. Regards, Martin -- http://mail.python.org/mailman/listinfo/python-list