New submission from Aaron Swan:

On Linux Red Hat os.rename(src,dst) does nothing when src and dst files are 
hard-linked.

It seems like the expected behavior would be the removal of the src file. This 
would be in keeping with the documentation that states: "On Unix, if dst exists 
and is a file, it will be replaced silently if the user has permission. "

----------
messages: 221699
nosy: Aaron.Swan
priority: normal
severity: normal
status: open
title: os.rename(src,dst) does nothing when src and dst files are hard-linked
type: behavior
versions: Python 2.7

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue21876>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to