[issue13585] Add contextlib.CleanupManager
Nikolaus Rath
report at bugs.python.org
Wed Dec 21 17:48:51 CET 2011
Nikolaus Rath <Nikolaus at rath.org> added the comment:
On 12/21/2011 11:46 AM, Éric Araujo wrote:
>
> Éric Araujo <merwok at netwok.org> added the comment:
>
>> The idea is to add a general-purpose context manager to manage (python
>> or non-python) resources that don't come with their own context manager.
>
> In the passage I quoted, I don’t understand what is meant by “non-Python resources”.
Think about e.g. mounting a file system.
Best,
-Nikolaus
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13585>
_______________________________________
More information about the Python-bugs-list
mailing list