|
> >From the land of PEP: deterministic cleanup for iterators
>
> https://www.python.org/dev/peps/pep-0533/
>
> Can the prospective scoped locals be applied to this use case?
No. The proposed 'with' clause also does not seem to apply :-)
-- Roberto