[Python-Dev] pathlib (PEP 428) status

Antoine Pitrou solipsis at pitrou.net
Thu Oct 24 10:17:03 CEST 2013


Le Thu, 24 Oct 2013 00:38:02 +0200,
Christian Heimes <christian at python.org> a écrit :
> Am 23.10.2013 23:37, schrieb Charles-François Natali:
> > Hi,
> > 
> > What's the current status of pathlib? Is it targeted for 3.4?
> > 
> > It would be a really nice addition, and AFAICT it has already been
> > maturing a while on pypi, and discussed several times here.
> > If I remember correctly, the only remaining issue was stat()'s
> > result caching.
> 
> Hi,
> 
> I'd like to see pathlib in 3.4 as well. Last week at PyCon.DE in
> Cologne several people have asked me about pathlib. We even had a
> BarCamp session about path libraries for Python. A couple of German
> Python users have promised to contribute doc improvements soonish.
> 
> AFAIK stat caching and a os.listdir() generator with stat `recycling`
> (dirent->d_type) are open issues. I suggest Python 3.4 should ignore
> these features for now but prepare the API and documentation for
> future enhancements.

Thanks for the push. I have to cleanup / remove stat caching from the
PEP (not sure yet which one, Nick expressed interest during the last
discussion) and then polish it for pronouncement.

Still, I need to find someone to pronounce on it.

Regards

Antoine.




More information about the Python-Dev mailing list