[issue39924] pathlib handles missing `os.link`, `os.symlink` and `os.readlink` inconsistently

Manjusaka report at bugs.python.org
Thu Mar 12 14:39:37 EDT 2020


Manjusaka <lizheao940510 at gmail.com> added the comment:

I don't think rename 'link_to'  to 'link' directly is a good idea. Because there are many third-party libs have used this name. Unless we can keep two names in this version, and remind people the 'link_to' function will be deprecated totally in a future version. But is there any way to make a function as deprecated?

About 'os.readlink', we can hide this function in the platform that doesn't support readlink() just like `epoll' in mac or etc.

----------
nosy: +Manjusaka

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


More information about the Python-bugs-list mailing list