[Python-ideas] New PEP proposal -- Pathlib Module Should Contain All File Operations -- version 2

Barry Scott barry at barrys-emacs.org
Sun Mar 18 10:44:19 EDT 2018


It seems that the main quest to answer first is this.

Should Path() have methods to access all file operations?

Maybe it was a mistake to add the ones that are already there.
Especially in light of the fspath protocol that now exists.

If yes proceed to details the methods and their semantics.

If no then concentrate on making shutil etc easy to use this Path() args.
Maybe do this anyway.

Barry



More information about the Python-ideas mailing list