379
fancy_rename(old, new, rename_func=_wrapped_rename, unlink_func=os.unlink)
371
fancy_rename(old, new, rename_func=os.rename, unlink_func=os.unlink)
381
373
if e.errno in (errno.EPERM, errno.EACCES, errno.EBUSY, errno.EINVAL):
382
374
# If we try to rename a non-existant file onto cwd, we get