[proxy] bugs.python.org← back | site home | direct (HTTPS) ↗ | proxy home | ◑ dark◐ light

Message 285988 - Python tracker

Message285988

Author xiang.zhang
Recipients xiang.zhang
Date 2017-01-22.05:47:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1485064061.59.0.597221589705.issue29341@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2017-01-22 05:47:41xiang.zhangsetrecipients: + xiang.zhang
2017-01-22 05:47:41xiang.zhangsetmessageid: <1485064061.59.0.597221589705.issue29341@psf.upfronthosting.co.za>
2017-01-22 05:47:41xiang.zhanglinkissue29341 messages
2017-01-22 05:47:40xiang.zhangcreate