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 brett.cannon
Recipients brett.cannon, iciocirlan, pitrou, serhiy.storchaka, veky, xtreak
Date 2019-12-03.18:37:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1575398232.81.0.360825928658.issue38924@roundup.psfhosted.org>
In-reply-to
Content
While I understand you're disappointed, do realize that the tone of your response isn't necessary. I'm going to assume you didn't mean for it to come off as confrontational and still provide a reply.

> you do realise there are no symlinks to resolve on PurePaths, right?

Yes.

> Why don't you deprecate it then?

Because the amount of code that would break for those that are willing to deal with its drawbacks is way too vast. But just because we keep that function around even with its drawbacks doesn't meant we want to propagate that in newer code.

> Let me quote the initial comment for this issue, which apparently noone read

We read it, but as I said in response, "Path inherits from PurePath, so providing a normalize() method on the latter means it will end up on the former". Now I know you suggested putting in code to somehow hide it from Path, but we try to avoid being so magical in the stdlib, especially when it would require some careful explanation in the docs that for some reason a method on an inherited class wasn't available.

Please note you can also use your own subclass or function to get the functionality you are after. There is nothing special to what you are asking for that requires inclusion in the stdlib.
History
Date User Action Args
2019-12-03 18:37:12brett.cannonsetrecipients: + brett.cannon, pitrou, serhiy.storchaka, veky, xtreak, iciocirlan
2019-12-03 18:37:12brett.cannonsetmessageid: <1575398232.81.0.360825928658.issue38924@roundup.psfhosted.org>
2019-12-03 18:37:12brett.cannonlinkissue38924 messages
2019-12-03 18:37:12brett.cannoncreate