[Python-Dev] When should pathlib stop being provisional?
Greg Ewing
greg.ewing at canterbury.ac.nz
Wed Apr 6 18:59:25 EDT 2016
More information about the Python-Dev mailing list
Wed Apr 6 18:59:25 EDT 2016
- Previous message (by thread): [Python-Dev] When should pathlib stop being provisional?
- Next message (by thread): [Python-Dev] When should pathlib stop being provisional?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Nick Coghlan wrote: > I'd missed the existing precedent in DirEntry.path, so simply taking > that and running with it sounds good to me. It's not quite the same thing, though. DirEntry.path takes something that is not a path (a DirEntry instance) and gives you a path representing it, so the name makes sense. But a Path instance is already "a path", so Path.path is weird. Path.str would make more sense. -- Greg
- Previous message (by thread): [Python-Dev] When should pathlib stop being provisional?
- Next message (by thread): [Python-Dev] When should pathlib stop being provisional?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list