summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d/next/Library/2023-05-23-19-53-18.gh-issue-83863.eRI5JG.rst
blob: 7a073aa37dd6ae54a107140604efac871acf68d0 (plain)
1
2
3
4
Support for using :class:`pathlib.Path` objects as context managers has been
removed. Before Python 3.9, exiting the context manager marked a path as
"closed", which caused some (but not all!) methods to raise when called.
Since Python 3.9, using a path as a context manager does nothing.