> 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/
- [Python-ideas] shutil.symlink to allow non-race replac... Tom Hale
- Re: [Python-ideas] shutil.symlink to allow non-ra... Anders Hovmöller
- Re: [Python-ideas] shutil.symlink to allow no... Steven D'Aprano
- Re: [Python-ideas] shutil.symlink to allo... Anders Hovmöller
- Re: [Python-ideas] shutil.symlink to ... Serge Matveenko
- Re: [Python-ideas] shutil.symlin... Steven D'Aprano
- Re: [Python-ideas] shutil.sy... Stephen J. Turnbull
- Re: [Python-ideas] shuti... Steven D'Aprano
- Re: [Python-ideas] shuti... Stephen J. Turnbull
- Re: [Python-ideas] shuti... Serge Matveenko
- Re: [Python-ideas] shuti... Steven D'Aprano
- Re: [Python-ideas] shutil.sy... Anders Hovmöller