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 Jeffrey.Kintscher
Recipients Jeffrey.Kintscher, conchylicultor, louis-vincent.boudre, pitrou
Date 2020-08-13.19:27:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1597346843.85.0.508795505523.issue41109@roundup.psfhosted.org>
In-reply-to
Content
Adding __init__() to PurePath complicates things and doesn't provide any benefit.  A subclass that calls super.__init__() ends up invoking object.__init__(), which is perfectly fine.

I was able to find a solution by calling type(self)() instead of object.__new__() in most cases.  I am working on a PR.
History
Date User Action Args
2020-08-13 19:27:23Jeffrey.Kintschersetrecipients: + Jeffrey.Kintscher, pitrou, conchylicultor, louis-vincent.boudre
2020-08-13 19:27:23Jeffrey.Kintschersetmessageid: <1597346843.85.0.508795505523.issue41109@roundup.psfhosted.org>
2020-08-13 19:27:23Jeffrey.Kintscherlinkissue41109 messages
2020-08-13 19:27:23Jeffrey.Kintschercreate