[Python-Dev] Defining a path protocol (original) (raw)
Ethan Furman ethan at stoneleaf.us
Wed Apr 6 19:44:59 EDT 2016
- Previous message (by thread): [Python-Dev] Defining a path protocol
- Next message (by thread): [Python-Dev] Defining a path protocol
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 04/06/2016 04:27 PM, Brett Cannon wrote:
On Wed, 6 Apr 2016 at 15:54 Gregory P. Smithwrote:
So would module.path become a Path instance in a potential future making module.path.path meaningfully confusing? ;) I'm not worried about people who shove pathlib.Path instances in as values into sys.modules and expect anything but pain. :P Ah, good point. I think that kills path then as an option.
Excellent! Narrowing the field then to:
fspath
os_path
Step right up! Cast yer votes!
--
Ethan
- Previous message (by thread): [Python-Dev] Defining a path protocol
- Next message (by thread): [Python-Dev] Defining a path protocol
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]