]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-39682: make `pathlib.Path` immutable by removing (undocumented) support for ...
authorBarney Gale <barney.gale@gmail.com>
Wed, 1 Apr 2020 14:10:51 +0000 (15:10 +0100)
committerGitHub <noreply@github.com>
Wed, 1 Apr 2020 14:10:51 +0000 (16:10 +0200)
commit00002e6d8b0ccdb6e0d9e98a9a7f9c9edfdf1311
treea3fe4073ec9cd19cd3fa388a9dcd079936a43884
parent975ac326ffe265e63a103014fd27e9d098fe7548
bpo-39682: make `pathlib.Path` immutable by removing (undocumented) support for "closing" a path by using it as a context manager (GH-18846)

Support for using a path as a context manager remains, and is now a no-op.
Lib/pathlib.py
Lib/test/test_pathlib.py
Misc/NEWS.d/next/Library/2020-03-08-11-00-01.bpo-39682.AxXZNz.rst [new file with mode: 0644]