[Python-ideas] shutil.symlink - "avoid constant bool flags"

Greg Ewing greg.ewing at canterbury.ac.nz
Thu May 16 19:10:32 EDT 2019


Tom Hale wrote:
> It seems far more practicable to have only two functions with sensible 
> boolean defaults, with the split being based on the underlying os module 
> function, namely os.link and os.symlink.

Also the os module is designed to follow the C API of the OS
as closely as practicable, so that users have a minimal amount
to learn.

-- 
Greg



More information about the Python-ideas mailing list