[Python-Dev] pathlib (was: Defining a path protocol)
Greg Ewing
greg.ewing at canterbury.ac.nz
Sun Apr 10 02:24:23 EDT 2016
Nick Coghlan wrote:
> We want to be able to readily use the protocol helper in builtin
> modules like os and low level Python modules like os.path, which means
> we want it to be much lower down in the import hierarchy than pathlib.
Also, it's more general than that. It works on any
object that wants to behave as a path, not just
pathlib ones, so it should be in a neutral place.
--
Greg
More information about the Python-Dev
mailing list