[Python-Dev] Defining a path protocol (original) (raw)

Sven R. Kunze srkunze at mail.de
Wed Apr 6 16:54:13 EDT 2016


On 06.04.2016 22:28, Brett Cannon wrote:

On Wed, 6 Apr 2016 at 13:20 Sven R. Kunze <srkunze at mail.de_ _<mailto:srkunze at mail.de>> wrote:

What about filepath Can be a directory as well (and you could argue semantics of file system inodes, beginners won't know the subtlety and/or wonder where dirpath is).

Good point.

Well, then fspath for me.

I knew instantly what it means especially considering btrfs, ntfs, xfs, zfs, etc.

Furthermore, we MIGHT later want some URI support, so I don't know off the top of my head if there's a difference between fspath and urlpath but better separate it now. Later we can re-merge then if necessary.

Best, Sven -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20160406/b03645e9/attachment.html>



More information about the Python-Dev mailing list