New submission from Barney Gale <barney.g...@gmail.com>:

As of Python 3.3, `os.lstat()` and `os.lchmod()` are available as 
`os.stat(follow_symlinks=False)` and `os.chmod(follow_symlinks=False)`, but an 
equivalent change didn't make it into pathlib. I propose we add the  
`follow_symlinks` argument to `Path.stat()` and `Path.chmod()` for consistency 
with `os` and because the new notation is arguable clearer for people who don't 
know many system calls off by heart :)

----------
components: Library (Lib)
messages: 363681
nosy: barneygale
priority: normal
severity: normal
status: open
title: pathlib.Path: add `follow_symlinks` argument to `stat()` and `chmod()`
type: enhancement
versions: Python 3.9

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue39906>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to