New submission from Barney Gale <barney.g...@gmail.com>:
Small bug report encompassing some related issues in `pathlib._NormalAccessor`: - `link_to()` should be named `link()` for consistency with other methods - `symlink()` doesn't need to guard against `os.symlink()` not accepting `target_is_directory` on non-Windows platforms; this has been fixed since 3.3 - `readlink()` doesn't raise `NotImplementedError` when `os.readlink()` is unavailable Only the last of these has a user impact, and only on exotic systems. ---------- components: Library (Lib) messages: 363845 nosy: barneygale priority: normal severity: normal status: open title: pathlib handles missing `os.link`, `os.symlink` and `os.readlink` inconsistently type: behavior versions: Python 3.9 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue39924> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com