[Python-Dev] pathlib (was: Defining a path protocol) (original) (raw)
Greg Ewing greg.ewing at canterbury.ac.nz
Sun Apr 10 02:24:23 EDT 2016
- Previous message (by thread): [Python-Dev] pathlib (was: Defining a path protocol)
- Next message (by thread): [Python-Dev] Other pathlib improvements? was: When should pathlib stop being provisional?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message (by thread): [Python-Dev] pathlib (was: Defining a path protocol)
- Next message (by thread): [Python-Dev] Other pathlib improvements? was: When should pathlib stop being provisional?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]