[Python-ideas] PEP 428 - object-oriented filesystem paths

Stephen J. Turnbull stephen at xemacs.org
Sat Oct 6 12:09:05 CEST 2012

Antoine Pitrou writes:

 > ``relative()`` returns a new relative path by stripping the drive and root::

Does this have use cases so common that it deserves a convenience
method?  I would expect "relative" to require an argument.  (Ie, I
would expect it to have the semantics of "relative_to".)  Or is the
issue that you can't count on PureNTPath(p).relative_to('C:\\') to

Maybe the 

More information about the Python-ideas mailing list