This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Richer stat object
Type: enhancement Stage:
Components: Library (Lib) Versions: Python 3.5
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: ncoghlan, pitrou, pjenvey
Priority: normal Keywords:

Created on 2013-11-22 21:41 by pjenvey, last changed 2022-04-11 14:57 by admin.

Messages (3)
msg203892 - (view) Author: Philip Jenvey (pjenvey) * (Python committer) Date: 2013-11-22 21:41
With discussion of the new Pathlib API there's been suggestion (and maybe even already consensus) that some of the convenience APIs provided by it should exist on stat result objects.

It's maybe too late for 3.4, but let's track exactly what additions are wanted
msg228399 - (view) Author: Mark Lawrence (BreamoreBoy) * Date: 2014-10-03 22:24
@Philip could you provide a reference to (say) discussions on python-dev for lesser mortals such as myself?
msg232340 - (view) Author: Philip Jenvey (pjenvey) * (Python committer) Date: 2014-12-09 01:00
I can't find the paper trail of what I originally thought was a "consensus" or even that many clear pronouncements about it, but I recall Nick being originally opposed to it but he later changed his mind, you can see his approval here:

https://mail.python.org/pipermail/python-dev/2013-May/125809.html

'It's also quite likely the "rich stat object" API will be pursued for 3.5'

https://mail.python.org/pipermail/python-dev/2013-November/130582.html

https://mail.python.org/pipermail/python-dev/2013-November/130588.html

Antoine seems ok w/ it, encouraging others to make it happen:

https://mail.python.org/pipermail//python-dev/2013-September/128708.html

You can probably find a bit more discussion within those threads
History
Date User Action Args
2022-04-11 14:57:54adminsetgithub: 63924
2019-04-26 17:30:02BreamoreBoysetnosy: - BreamoreBoy
2014-12-09 01:00:13pjenveysetmessages: + msg232340
2014-10-03 22:24:28BreamoreBoysetnosy: + BreamoreBoy

messages: + msg228399
versions: + Python 3.5, - Python 3.4
2013-11-22 21:41:48pjenveycreate