[issue41355] os.link(..., follow_symlinks=False) without linkat(3)

Pablo Galindo Salgado report at bugs.python.org
Tue Jul 28 07:06:41 EDT 2020


Pablo Galindo Salgado <pablogsal at gmail.com> added the comment:

> That said, since os.link() hasn't been working as advertised, this change needs to be accompanied by changing the default value of follow_symlinks to False. That will retain the status quo behavior for most systems, except in the rare case that src_dir_fd or dst_dir_fd is used. If it isn't changed to False, then suddenly os.link() calls will start following symlinks, whereas prior to the change they did not because link() was being called instead of linkat(). 


Isn't that a backwards-incompatible change?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41355>
_______________________________________


More information about the Python-bugs-list mailing list