On Tue, 13 Mar 2018 15:35:56 +0000 Rhodri James <rho...@kynesim.co.uk> wrote: > On 12/03/18 20:57, George Fischhof wrote: > > Good day all, > > > > as it seemed to be a good idea, I wrote a PEP proposal for pathlib to > > contain file operations. > > > > Here is the draft. What do you think about this? > > I am mildly negative about this. In my copious spare time (ho ho) I > have been considering the use of pathlib with things that aren't filing > systems, such as http or ftp. Moving the file operations into pathlib > would strain that idea even harder than my (extremely superficial) > current thinking.
pathlib is meant for local filesystem paths. Dealing with arbitrary "things which look like paths or have paths in them" (URLs?) is a topic for another library. Regards Antoine. _______________________________________________ Python-ideas mailing list Python-ideas@python.org https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/