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

Serhiy Storchaka storchaka at gmail.com
Sat Oct 6 23:01:40 CEST 2012

On 05.10.12 21:25, Antoine Pitrou wrote:
> PS: You can all admire my ASCII-art skills.

PurePosixPath and PureNTPath looks closer to Path than to PurePath.

> The ``parent()`` method returns an ancestor of the path::

p[:-n] is shorter and looks neater than p.parent(n). Possible the 
``parent()`` method is unnecessary?

More information about the Python-ideas mailing list