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