Message285988
PathLike objects are added in 3.6 and they are mentioned in the documentation. But in some os module functions' docstrings, acceptable types of path parameter are mentioned and they are not altered to mention path-like object. For example:
chown(path, uid, gid, *, dir_fd=None, follow_symlinks=True)
Change the owner and group id of path to the numeric uid and gid.\
path
Path to be examined; can be string, bytes, or open-file-descriptor int. |
|
Date |
User |
Action |
Args |
2017-01-22 05:47:41 | xiang.zhang | set | recipients:
+ xiang.zhang |
2017-01-22 05:47:41 | xiang.zhang | set | messageid: <1485064061.59.0.597221589705.issue29341@psf.upfronthosting.co.za> |
2017-01-22 05:47:41 | xiang.zhang | link | issue29341 messages |
2017-01-22 05:47:40 | xiang.zhang | create | |
|