[issue39906] pathlib.Path: add `follow_symlinks` argument to `stat()` and `chmod()`

2021-05-13 Thread miss-islington


miss-islington  added the comment:


New changeset 2d972b8e7cb5347ddf83dfcee461f550b59f0736 by Miss Islington (bot) 
in branch '3.10':
bpo-39906: Document new follow_symlinks argument to pathlib.Path.stat() and 
chmod() in 3.10 whatsnew. (GH-26089)
https://github.com/python/cpython/commit/2d972b8e7cb5347ddf83dfcee461f550b59f0736


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue39906] pathlib.Path: add `follow_symlinks` argument to `stat()` and `chmod()`

2021-05-13 Thread miss-islington


Change by miss-islington :


--
nosy: +miss-islington
nosy_count: 3.0 -> 4.0
pull_requests: +24741
pull_request: https://github.com/python/cpython/pull/26100

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue39906] pathlib.Path: add `follow_symlinks` argument to `stat()` and `chmod()`

2021-05-12 Thread Barney Gale


Change by Barney Gale :


--
pull_requests: +24728
pull_request: https://github.com/python/cpython/pull/26089

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue39906] pathlib.Path: add `follow_symlinks` argument to `stat()` and `chmod()`

2021-05-12 Thread Barney Gale


Change by Barney Gale :


--
pull_requests: +24726
pull_request: https://github.com/python/cpython/pull/26087

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue39906] pathlib.Path: add `follow_symlinks` argument to `stat()` and `chmod()`

2021-04-07 Thread Steve Dower


Change by Steve Dower :


--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue39906] pathlib.Path: add `follow_symlinks` argument to `stat()` and `chmod()`

2021-04-07 Thread Steve Dower


Steve Dower  added the comment:


New changeset abf964942f97f6489360a75fd57b5e4f41c75f57 by Barney Gale in branch 
'master':
bpo-39906: Add follow_symlinks parameter to pathlib.Path.stat() and chmod() 
(GH-18864)
https://github.com/python/cpython/commit/abf964942f97f6489360a75fd57b5e4f41c75f57


--
nosy: +steve.dower

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue39906] pathlib.Path: add `follow_symlinks` argument to `stat()` and `chmod()`

2020-03-09 Thread Karthikeyan Singaravelan


Change by Karthikeyan Singaravelan :


--
nosy: +pitrou

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue39906] pathlib.Path: add `follow_symlinks` argument to `stat()` and `chmod()`

2020-03-08 Thread Barney Gale


Change by Barney Gale :


--
keywords: +patch
pull_requests: +18221
stage:  -> patch review
pull_request: https://github.com/python/cpython/pull/18864

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue39906] pathlib.Path: add `follow_symlinks` argument to `stat()` and `chmod()`

2020-03-08 Thread Barney Gale


New submission from Barney Gale :

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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com