This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author projetmbc
Recipients paul.moore, pitrou, projetmbc
Date 2015-05-06.12:13:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
In-reply-to <>

I will give a real example in 5 hours after my job. I will try tomorrow a
solution to ease the subclassing using another dedicazted class PathPlus,
sorry for the name. The idea would be to use this new class for
customization, and also to define WindowsPath and PosixPath sub-classing
this new class. By default PathPlus would be an empty class. I do not know
if this works well. Maybe my idea is a bad one.

*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 13:05 GMT+02:00 Antoine Pitrou <>:

> Antoine Pitrou added the comment:
> The Path classes were not designed to be subclassable by the user.
> I'm not against making subclassing easier, but someone will have to
> propose a viable approach for that.
> ----------
> versions: +Python 3.5 -Python 3.4
> _______________________________________
> Python tracker <>
> <>
> _______________________________________
Date User Action Args
2015-05-06 12:13:25projetmbcsetrecipients: + projetmbc, paul.moore, pitrou
2015-05-06 12:13:25projetmbclinkissue24132 messages
2015-05-06 12:13:25projetmbccreate