> On 13 May 2019, at 11:38, Tom Hale <t...@hale.ee> wrote:
> 
> * os.symlink() - the new link name is expected to NOT exist
> * shutil.symlink() - the new symlink replaces an existing file

This seems error prone to me. There is nothing about those names that hint at 
the difference in behavior. An optional "overwrite_if_exists=False" flag seems 
much nicer.

/ Anders 
_______________________________________________
Python-ideas mailing list
Python-ideas@python.org
https://mail.python.org/mailman/listinfo/python-ideas
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to