On 10/18/22, Todd <toddr...@gmail.com> wrote:
>
> How is it any less of a "path operation" than moving files, reading and
> writing files, making directories, and deleting files?

Path-related operations involve creating, linking, symlinking, and
listing directories and files, and peripherally also accessing file
metadata such as size, timestamps, attributes, and permissions (i.e.
filesystem indexing and bookkeeping). Reading and writing are I/O data
operations on the contents of files.

Copying a file is a path operation in that a new file gets created in
the filesystem, but it's primarily an I/O operation, as are the
read_text(), read_bytes(), write_text() and write_bytes() methods of
Path objects. The ship sailed a long time ago. Path objects support
I/O.
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/PPKSABYX2XUDNFJTNBJWBFFBPFFJJEDP/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to