[issue24132] Direct sub-classing of pathlib.Path

Paul Moore report at bugs.python.org
Wed May 6 21:01:32 CEST 2015


Paul Moore added the comment:

I have no problem with that - it's a style choice certainly.

As I said, I'd like to see simpler subclassing of pathlib objects. I just think it'll be quite hard to do (given the complexities of classes for Windows/Unix as well as pure and concrete paths). So if it's just about examples like this, I personally would take the easier route and just go with standalone functions. If someone else felt strongly enough to design and implement a subclassing solution, that's fine though.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24132>
_______________________________________


More information about the Python-bugs-list mailing list