[New-bugs-announce] [issue46556] pathlib.Path.__enter__() should emit DeprecationWarning
Barney Gale
report at bugs.python.org
Thu Jan 27 18:07:21 EST 2022
New submission from Barney Gale <barney.gale at gmail.com>:
In Python 3.9 / issue39682 we made Path.__exit__() a no-op, and added a comment in the code mentioning that it should be deprecated in future. The future is here, so let's deprecate it.
----------
components: Library (Lib)
messages: 411936
nosy: barneygale
priority: normal
severity: normal
status: open
title: pathlib.Path.__enter__() should emit DeprecationWarning
type: behavior
versions: Python 3.11
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue46556>
_______________________________________
More information about the New-bugs-announce
mailing list