On Mar 12, 2018 1:57 PM, "George Fischhof" <[email protected]> wrote:
This PEP proposes pathlib module to be a centralized place for all file-system related operations. I'd find this useful for another reason that hasn't been mentioned yet: having a single class collecting all the common/basic file operations makes it much easier to provide a convenient async version of that interface. For example: https://trio.readthedocs.io/en/latest/reference-io.html#trio.Path Obviously it can never be complete, since there are always going to be standalone functions that take paths and work on them internally (for example in third party libraries), but the operations we're talking about here are all pretty basic primitives. -n
_______________________________________________ Python-ideas mailing list [email protected] https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/
