[issue24132] Direct sub-classing of pathlib.Path

Christophe BAL report at bugs.python.org
Wed May 6 21:06:30 CEST 2015


Christophe BAL added the comment:

Are you the author of path lib ?

*Christophe BAL*
*Enseignant de mathématiques en Lycée **et développeur Python amateur*
*---*
*French math teacher in a "Lycée" **and **Python **amateur developer*

2015-05-06 21:01 GMT+02:00 Paul Moore <report at bugs.python.org>:

>
> 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>
> _______________________________________
>

----------

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


More information about the Python-bugs-list mailing list