[issue39682] pathlib.Path objects can be used as context managers

Brett Cannon report at bugs.python.org
Wed Mar 4 14:30:06 EST 2020


Brett Cannon <brett at python.org> added the comment:

@Antoine I just quite follow what you mean. Are you saying ditch _closed and just leave the context manager to be a no-op?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39682>
_______________________________________


More information about the Python-bugs-list mailing list