Joachim Trouverie <joachim.trouve...@linoame.fr> added the comment:

I created a PR for this issue for Python 2.7 
(https://github.com/python/cpython/pull/5753/files).

I just skip the link creation if the target path is equals to the link target. 
I don't see any corner case where this would be an unwanted behavior.

I am not sure either I should also create an unit test for this behavior.

----------

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

Reply via email to