[issue45114] bad example for os.stat

2022-04-02 Thread miss-islington
miss-islington added the comment: New changeset dc9322a91d48c80afe8329bb509673a2f74fb925 by Miss Islington (bot) in branch '3.9': bpo-45114: Use lstat() instead of stat() in stat docs example (GH-29845) https://github.com/python/cpython/commit/dc9322a91d48c80afe8329bb509673a2f74fb925

[issue45114] bad example for os.stat

2022-04-02 Thread miss-islington
miss-islington added the comment: New changeset 23c0200c436714a3f9b38d5e6cac230ceacd4c43 by Miss Islington (bot) in branch '3.10': bpo-45114: Use lstat() instead of stat() in stat docs example (GH-29845) https://github.com/python/cpython/commit/23c0200c436714a3f9b38d5e6cac230ceacd4c43

[issue45114] bad example for os.stat

2022-04-02 Thread Jelle Zijlstra
Change by Jelle Zijlstra : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue45114] bad example for os.stat

2022-04-02 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 4.0 -> 5.0 pull_requests: +30333 pull_request: https://github.com/python/cpython/pull/32267 ___ Python tracker

[issue45114] bad example for os.stat

2022-04-02 Thread miss-islington
Change by miss-islington : -- pull_requests: +30334 pull_request: https://github.com/python/cpython/pull/32268 ___ Python tracker ___

[issue45114] bad example for os.stat

2022-04-02 Thread Jelle Zijlstra
Jelle Zijlstra added the comment: New changeset c93a0ac6972221787d8bea1c41a9feb667ed3d2c by 180909 in branch 'main': bpo-45114: Use lstat() instead of stat() in stat docs example (GH-29845) https://github.com/python/cpython/commit/c93a0ac6972221787d8bea1c41a9feb667ed3d2c -- nosy:

[issue45114] bad example for os.stat

2021-11-29 Thread jiahua wang
Change by jiahua wang : -- keywords: +patch nosy: +wangjiahua nosy_count: 2.0 -> 3.0 pull_requests: +28074 stage: -> patch review pull_request: https://github.com/python/cpython/pull/29845 ___ Python tracker

[issue45114] bad example for os.stat

2021-09-06 Thread Harri
New submission from Harri : The example on https://docs.python.org/3/library/stat.html should be improved to avoid endless recursion, if there is a symlink loop. I would suggest to use os.lstat instead of os.stat. -- assignee: docs@python components: Documentation messages: 401133