]> granicus.if.org Git - python/commit
bpo-30618: add readlink to pathlib.Path (GH-8285)
authorGirts <girtsf@users.noreply.github.com>
Wed, 23 Oct 2019 21:18:40 +0000 (14:18 -0700)
committerMiss Skeleton (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 23 Oct 2019 21:18:40 +0000 (14:18 -0700)
commita01ba333affcc0677146dc8af57179bdb808d608
tree5b3c67ab51bc2c5074b19828c24de7a3d2eac119
parent01659ca62c4508518478a74615ac91c0009427ad
bpo-30618: add readlink to pathlib.Path (GH-8285)

This adds a "readlink" method to pathlib.Path objects that calls through
to os.readlink.

https://bugs.python.org/issue30618

Automerge-Triggered-By: @gpshead
Doc/library/pathlib.rst
Doc/whatsnew/3.9.rst
Lib/pathlib.py
Lib/test/test_pathlib.py
Misc/NEWS.d/next/Library/2018-07-14-13-48-56.bpo-30618.T5AUF6.rst [new file with mode: 0644]