On 17 March 2018 at 22:49, George Fischhof <geo...@fischhof.hu> wrote:
>>>
>>>     * os.truncate
>>>
>>>     * shutil.copyfileobj
>>>
>>>
>>> This function does not take paths as arguments. I guess it does not belong
>>> here.
>
> No path, it is true (right now), but it has sense to have this function
> among the others.

So you're proposing to include these how? As standalone functions in
pathlib? Strong -1 on that. I thought the intention here was to add
methods to path objects (which I still have reservations about). But
I'm definitely against adding standalone functions to pathlib - I see
pathlib as where Path objects are defined, not as "the place where all
path-related and other file operations should live").

Paul
_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to