[issue14848] os.rename should not be used

Vetoshkin Nikita report at bugs.python.org
Fri May 18 16:45:06 CEST 2012


Vetoshkin Nikita <nikita.vetoshkin at gmail.com> added the comment:

pysetup install.
strace of removal looks like this:
stat("/home/nekto0n/workspace/pillar/penv/lib/python2.7/site-packages/ygroup/__init__.py", {st_mode=S_IFREG|0664, st_size=0, ...}) = 0
rename("/home/nekto0n/workspace/pillar/penv/lib/python2.7/site-packages/ygroup/__init__.py", "/tmp/ygroup-client-uninstalljkoIAl/__init__.py") = -1 EXDEV (Invalid cross-device link)

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14848>
_______________________________________


More information about the Python-bugs-list mailing list