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