New submission from Barney Gale <barney.g...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue46556>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to