Brett Cannon <br...@python.org> added the comment:

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.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue38924>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to